Spaces:
Running
Running
Update app.py
Browse files
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(
|
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 |
|