Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- README.md +3 -3
- app.py +1 -0
- requirements.txt +1 -1
- space.py +1 -0
- src/README.md +1 -0
- src/demo/app.py +1 -0
- src/demo/space.py +1 -0
- src/pyproject.toml +2 -2
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
|
| 2 |
---
|
| 3 |
tags: [gradio-custom-component,machine learning,reproducibility,visualization,gradio,gradio-template-File,protein]
|
| 4 |
-
title: gradio_molecule3d V0.0.
|
| 5 |
-
colorFrom:
|
| 6 |
-
colorTo:
|
| 7 |
sdk: docker
|
| 8 |
pinned: false
|
| 9 |
license: apache-2.0
|
|
|
|
| 1 |
|
| 2 |
---
|
| 3 |
tags: [gradio-custom-component,machine learning,reproducibility,visualization,gradio,gradio-template-File,protein]
|
| 4 |
+
title: gradio_molecule3d V0.0.5
|
| 5 |
+
colorFrom: purple
|
| 6 |
+
colorTo: pink
|
| 7 |
sdk: docker
|
| 8 |
pinned: false
|
| 9 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -29,6 +29,7 @@ def predict(x):
|
|
| 29 |
return x
|
| 30 |
|
| 31 |
with gr.Blocks() as demo:
|
|
|
|
| 32 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 33 |
out = Molecule3D(label="Output", reps=reps)
|
| 34 |
|
|
|
|
| 29 |
return x
|
| 30 |
|
| 31 |
with gr.Blocks() as demo:
|
| 32 |
+
gr.Markdown("# Molecule3D")
|
| 33 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 34 |
out = Molecule3D(label="Output", reps=reps)
|
| 35 |
|
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
gradio_molecule3d==0.0.
|
|
|
|
| 1 |
+
gradio_molecule3d==0.0.5
|
space.py
CHANGED
|
@@ -69,6 +69,7 @@ def predict(x):
|
|
| 69 |
return x
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
|
|
|
| 72 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 73 |
out = Molecule3D(label="Output", reps=reps)
|
| 74 |
|
|
|
|
| 69 |
return x
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
+
gr.Markdown("# Molecule3D")
|
| 73 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 74 |
out = Molecule3D(label="Output", reps=reps)
|
| 75 |
|
src/README.md
CHANGED
|
@@ -44,6 +44,7 @@ def predict(x):
|
|
| 44 |
return x
|
| 45 |
|
| 46 |
with gr.Blocks() as demo:
|
|
|
|
| 47 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 48 |
out = Molecule3D(label="Output", reps=reps)
|
| 49 |
|
|
|
|
| 44 |
return x
|
| 45 |
|
| 46 |
with gr.Blocks() as demo:
|
| 47 |
+
gr.Markdown("# Molecule3D")
|
| 48 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 49 |
out = Molecule3D(label="Output", reps=reps)
|
| 50 |
|
src/demo/app.py
CHANGED
|
@@ -29,6 +29,7 @@ def predict(x):
|
|
| 29 |
return x
|
| 30 |
|
| 31 |
with gr.Blocks() as demo:
|
|
|
|
| 32 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 33 |
out = Molecule3D(label="Output", reps=reps)
|
| 34 |
|
|
|
|
| 29 |
return x
|
| 30 |
|
| 31 |
with gr.Blocks() as demo:
|
| 32 |
+
gr.Markdown("# Molecule3D")
|
| 33 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 34 |
out = Molecule3D(label="Output", reps=reps)
|
| 35 |
|
src/demo/space.py
CHANGED
|
@@ -69,6 +69,7 @@ def predict(x):
|
|
| 69 |
return x
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
|
|
|
| 72 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 73 |
out = Molecule3D(label="Output", reps=reps)
|
| 74 |
|
|
|
|
| 69 |
return x
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
+
gr.Markdown("# Molecule3D")
|
| 73 |
inp = Molecule3D(label="Molecule3D", reps=reps)
|
| 74 |
out = Molecule3D(label="Output", reps=reps)
|
| 75 |
|
src/pyproject.toml
CHANGED
|
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
|
|
| 8 |
|
| 9 |
[project]
|
| 10 |
name = "gradio_molecule3d"
|
| 11 |
-
version = "0.0.
|
| 12 |
description = "Molecule3D custom component to visualize pdb or sdf files using 3Dmol.js"
|
| 13 |
readme = "README.md"
|
| 14 |
license = "MIT"
|
|
@@ -44,7 +44,7 @@ classifiers = [
|
|
| 44 |
dev = ["build", "twine"]
|
| 45 |
|
| 46 |
[tool.hatch.build]
|
| 47 |
-
artifacts = ["/backend/gradio_molecule3d/templates", "*.pyi", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates"]
|
| 48 |
|
| 49 |
[tool.hatch.build.targets.wheel]
|
| 50 |
packages = ["/backend/gradio_molecule3d"]
|
|
|
|
| 8 |
|
| 9 |
[project]
|
| 10 |
name = "gradio_molecule3d"
|
| 11 |
+
version = "0.0.5"
|
| 12 |
description = "Molecule3D custom component to visualize pdb or sdf files using 3Dmol.js"
|
| 13 |
readme = "README.md"
|
| 14 |
license = "MIT"
|
|
|
|
| 44 |
dev = ["build", "twine"]
|
| 45 |
|
| 46 |
[tool.hatch.build]
|
| 47 |
+
artifacts = ["/backend/gradio_molecule3d/templates", "*.pyi", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates", "backend/gradio_molecule3d/templates"]
|
| 48 |
|
| 49 |
[tool.hatch.build.targets.wheel]
|
| 50 |
packages = ["/backend/gradio_molecule3d"]
|