simonduerr commited on
Commit
660f406
·
verified ·
1 Parent(s): 1365361

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,9 +39,9 @@ def predict(input_mol, style, contour_level, view_str, chains):
39
 
40
  def show_contour_level(style):
41
  if style=="Contour":
42
- return gr.Slider(0,10,1, label="Contour level", visible=True)
43
  else:
44
- return gr.Slider(0,10,1, label="Contour level", visible=False)
45
 
46
  with gr.Blocks() as demo:
47
  gr.Markdown("# PDB2Vector")
 
39
 
40
  def show_contour_level(style):
41
  if style=="Contour":
42
+ return gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=True)
43
  else:
44
+ return gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
45
 
46
  with gr.Blocks() as demo:
47
  gr.Markdown("# PDB2Vector")