Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -355,7 +355,6 @@ def show_contour_level(style):
|
|
| 355 |
return gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
|
| 356 |
|
| 357 |
with gr.Blocks() as demo:
|
| 358 |
-
gr.Markdown("# PDB2Vector")
|
| 359 |
style = gr.Radio(value="Flat", choices=["Flat", "Contour", "Goodsell3D"], label="Style")
|
| 360 |
contour_level = gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
|
| 361 |
style.change(show_contour_level, style, contour_level)
|
|
|
|
| 355 |
return gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
|
| 356 |
|
| 357 |
with gr.Blocks() as demo:
|
|
|
|
| 358 |
style = gr.Radio(value="Flat", choices=["Flat", "Contour", "Goodsell3D"], label="Style")
|
| 359 |
contour_level = gr.Slider(minimum=1,maximum=50,step=1, value=10, label="Contour level", visible=False)
|
| 360 |
style.change(show_contour_level, style, contour_level)
|