ccm commited on
Commit
524fed7
1 Parent(s): ef755bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -270,7 +270,7 @@ with gradio.Blocks() as synthesis_demo2:
270
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred, true])
271
 
272
 
273
- with gradio.Blocks() as synthesis_demo2:
274
  with gradio.Row():
275
  perf = gradio.DataFrame(headers=['Surge', 'Heave', 'Pitch'], value=numpy.zeros((64, 3)).to_list())
276
 
@@ -287,7 +287,7 @@ with gradio.Blocks() as synthesis_demo2:
287
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred, true])
288
 
289
 
290
- all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2], ["Spectrum from Data", "Spectrum from File"])
291
 
292
  all_analysis_demos = gradio.TabbedInterface([analysis_demo], ["Geometry from Data"])
293
 
 
270
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred, true])
271
 
272
 
273
+ with gradio.Blocks() as synthesis_demo3:
274
  with gradio.Row():
275
  perf = gradio.DataFrame(headers=['Surge', 'Heave', 'Pitch'], value=numpy.zeros((64, 3)).to_list())
276
 
 
287
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred, true])
288
 
289
 
290
+ all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2, synthesis_demo3], ["Spectrum from Dataset", "Spectrum from File", "Spectrum from DataFrame"])
291
 
292
  all_analysis_demos = gradio.TabbedInterface([analysis_demo], ["Geometry from Data"])
293