Spaces:
Sleeping
Sleeping
Rocco Meli
commited on
Commit
·
8fee68c
1
Parent(s):
eee7df9
add examples
Browse files- .gitignore +1 -0
- app.py +2 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*.in
|
app.py
CHANGED
@@ -216,6 +216,7 @@ if __name__ == "__main__":
|
|
216 |
with gr.Row():
|
217 |
with gr.Box():
|
218 |
pfile = gr.File(file_count="single", label="Protein file (PDB)")
|
|
|
219 |
pbtn = gr.Button("View Protein")
|
220 |
|
221 |
protein = gr.HTML()
|
@@ -223,6 +224,7 @@ if __name__ == "__main__":
|
|
223 |
|
224 |
with gr.Box():
|
225 |
lfile = gr.File(file_count="single", label="Ligand file (SDF)")
|
|
|
226 |
lbtn = gr.Button("View Ligand")
|
227 |
|
228 |
ligand = gr.HTML()
|
|
|
216 |
with gr.Row():
|
217 |
with gr.Box():
|
218 |
pfile = gr.File(file_count="single", label="Protein file (PDB)")
|
219 |
+
gr.Examples(["mols/1cbr_protein.pdb"], inputs=pfile)
|
220 |
pbtn = gr.Button("View Protein")
|
221 |
|
222 |
protein = gr.HTML()
|
|
|
224 |
|
225 |
with gr.Box():
|
226 |
lfile = gr.File(file_count="single", label="Ligand file (SDF)")
|
227 |
+
gr.Examples(["mols/1cbr_ligand.sdf"], inputs=lfile)
|
228 |
lbtn = gr.Button("View Ligand")
|
229 |
|
230 |
ligand = gr.HTML()
|