Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
b1e7e74
1
Parent(s):
4ecc9bf
Update app.py
Browse files
app.py
CHANGED
@@ -332,7 +332,8 @@ metal3d = gr.Blocks()
|
|
332 |
with metal3d:
|
333 |
gr.Markdown("# Metal3D")
|
334 |
gr.Markdown(
|
335 |
-
""" <em>Inference using CPU-only, can be quite slow for more than 20 residues. Use [Colab notebook](https://colab.research.google.com/github/lcbc-epfl/metal-site-prediction/blob/main/Metal3D/ColabMetal.ipynb) for GPU acceleration</em>
|
|
|
336 |
"""
|
337 |
)
|
338 |
with gr.Tabs():
|
@@ -396,4 +397,4 @@ with metal3d:
|
|
396 |
outputs=[out, mol],
|
397 |
)
|
398 |
|
399 |
-
metal3d.launch(
|
|
|
332 |
with metal3d:
|
333 |
gr.Markdown("# Metal3D")
|
334 |
gr.Markdown(
|
335 |
+
""" <em>Inference using CPU-only, can be quite slow for more than 20 residues. Use [Colab notebook](https://colab.research.google.com/github/lcbc-epfl/metal-site-prediction/blob/main/Metal3D/ColabMetal.ipynb) for GPU acceleration or use the docker image locally </em>
|
336 |
+
<small><code>docker run -it -p 7860:7860 --platform=linux/amd64 registry.hf.space/simonduerr-metal3d:latest python app.py</code></small>
|
337 |
"""
|
338 |
)
|
339 |
with gr.Tabs():
|
|
|
397 |
outputs=[out, mol],
|
398 |
)
|
399 |
|
400 |
+
metal3d.launch()
|