ccm commited on
Commit
4cf00ed
1 Parent(s): 39d64d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -254,7 +254,7 @@ with gradio.Blocks() as analysis_demo_from_params:
254
  )
255
  height = gradio.Slider(label="Height", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
256
  width = gradio.Slider(label="Width", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
257
- diameter = gradio.Slider(label="Diameter", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
258
  length = gradio.Slider(label="Length", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
259
 
260
  radio.change(fn=change_textbox, inputs=radio, outputs=[height, width, diameter, length])
 
254
  )
255
  height = gradio.Slider(label="Height", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
256
  width = gradio.Slider(label="Width", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
257
+ diameter = gradio.Slider(label="Diameter", interactive=True, minimum=3.0, maximum=10.0, value=6.5, visible=False)
258
  length = gradio.Slider(label="Length", interactive=True, minimum=3.0, maximum=10.0, value=6.5)
259
 
260
  radio.change(fn=change_textbox, inputs=radio, outputs=[height, width, diameter, length])