ccm commited on
Commit
fa43469
·
1 Parent(s): 1fc5417

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1399,12 +1399,12 @@ with gradio.Blocks() as demo:
1399
  with gradio.Row():
1400
  with gradio.Column():
1401
  whence_commeth_performance = gradio.Radio(
1402
- ["Construct Spectrum from Table", "Pick Spectrum from Dataset"], label="How would you like to generate the desired response spectrum to synthesize from?", value="Construct Spectrum from Table"
1403
  )
1404
  num = gradio.Number(42, label="Type the index of the shape you would like to use or randomly select it.")
1405
  btn1 = gradio.Button("Randomize")
1406
  with gradio.Column():
1407
- perf = gradio.Timeseries(lambda: performance(42), x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="Performance")
1408
 
1409
  with gradio.Row():
1410
  btn2 = gradio.Button("Synthesize Geometry")
 
1399
  with gradio.Row():
1400
  with gradio.Column():
1401
  whence_commeth_performance = gradio.Radio(
1402
+ ["Pick Spectrum from Dataset"], label="How would you like to generate the desired response spectrum to synthesize from?", value="Construct Spectrum from Table"
1403
  )
1404
  num = gradio.Number(42, label="Type the index of the shape you would like to use or randomly select it.")
1405
  btn1 = gradio.Button("Randomize")
1406
  with gradio.Column():
1407
+ perf = gradio.Timeseries(x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="Performance")
1408
 
1409
  with gradio.Row():
1410
  btn2 = gradio.Button("Synthesize Geometry")