Spaces:
Sleeping
Sleeping
simonduerr
commited on
Commit
•
3ad1637
1
Parent(s):
f32d2f3
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import moleculekit
|
|
21 |
print(moleculekit.__version__)
|
22 |
|
23 |
|
24 |
-
def update(inp, file, mode, custom_resids, clustering_threshold, distance_cutoff
|
25 |
try:
|
26 |
filepath = file.name
|
27 |
except:
|
@@ -391,7 +391,7 @@ with metal3d:
|
|
391 |
mol = gr.HTML()
|
392 |
btn.click(
|
393 |
fn=update,
|
394 |
-
inputs=[inp, file, mode, custom_resids, clustering_threshold, distance_cutoff
|
395 |
outputs=[out, mol],
|
396 |
)
|
397 |
|
|
|
21 |
print(moleculekit.__version__)
|
22 |
|
23 |
|
24 |
+
def update(inp, file, mode, custom_resids, clustering_threshold, distance_cutoff):
|
25 |
try:
|
26 |
filepath = file.name
|
27 |
except:
|
|
|
391 |
mol = gr.HTML()
|
392 |
btn.click(
|
393 |
fn=update,
|
394 |
+
inputs=[inp, file, mode, custom_resids, clustering_threshold, distance_cutoff],
|
395 |
outputs=[out, mol],
|
396 |
)
|
397 |
|