simonduerr commited on
Commit
1365361
·
verified ·
1 Parent(s): 59e713c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def show_contour_level(style):
46
  with gr.Blocks() as demo:
47
  gr.Markdown("# PDB2Vector")
48
  style = gr.Radio(value="Flat", choices=["Flat", "Contour", "Goodsell3D"], label="Style")
49
- contour_level = gr.Slider(0,10,1, label="Contour level", visible=False)
50
  style.change(show_contour_level, style, contour_level)
51
  inp = moleculeview(label="Molecule3D")
52
 
 
46
  with gr.Blocks() as demo:
47
  gr.Markdown("# PDB2Vector")
48
  style = gr.Radio(value="Flat", choices=["Flat", "Contour", "Goodsell3D"], label="Style")
49
+ contour_level = gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
50
  style.change(show_contour_level, style, contour_level)
51
  inp = moleculeview(label="Molecule3D")
52