ccm commited on
Commit
ad66a13
1 Parent(s): ed22ed5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -257,7 +257,7 @@ with gradio.Blocks() as demo:
257
  true = gradio.Timeseries(x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="True")
258
 
259
  whence_commeth_geometry.change(fn=geometry_change, inputs=[whence_commeth_geometry], outputs=[radio, height, width, diameter, length, num, true])
260
- btn1.click(fn=geometry, inputs=[num], outputs=[geo])
261
  btn2.click(fn=simple_analysis, inputs=[num], outputs=[pred, true])
262
 
263
  with gradio.Tab("Synthesis"):
 
257
  true = gradio.Timeseries(x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="True")
258
 
259
  whence_commeth_geometry.change(fn=geometry_change, inputs=[whence_commeth_geometry], outputs=[radio, height, width, diameter, length, num, true])
260
+ num.change(fn=geometry, inputs=[num], outputs=[geo])
261
  btn2.click(fn=simple_analysis, inputs=[num], outputs=[pred, true])
262
 
263
  with gradio.Tab("Synthesis"):