ccm commited on
Commit
95a591c
·
1 Parent(s): 9a97763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ analysis_network = from_pretrained_keras("cmudrc/wave-energy-analysis")
14
  synthesis_network = from_pretrained_keras("cmudrc/wave-energy-synthesis")
15
 
16
  with gradio.Blocks() as demo:
17
- geometry = gradio.JSON(label="geometry")
18
- spectrum = gradio.JSON(label="spectrum")
19
 
20
  analyze_it = gradio.Button("Analyze")
21
  synthesize_it = gradio.Button("Synthesize")
 
14
  synthesis_network = from_pretrained_keras("cmudrc/wave-energy-synthesis")
15
 
16
  with gradio.Blocks() as demo:
17
+ geometry = gradio.Textbox(label="geometry")
18
+ spectrum = gradio.Textbox(label="spectrum")
19
 
20
  analyze_it = gradio.Button("Analyze")
21
  synthesize_it = gradio.Button("Synthesize")