Spaces:
Build error
Build error
Commit
·
a7fbf71
1
Parent(s):
90fdd4e
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,6 +92,6 @@ with demo:
|
|
| 92 |
file = gr.File(file_count="single")
|
| 93 |
gr.Examples(["2CBA", "6VXX"], inp)
|
| 94 |
btn = gr.Button("View structure")
|
| 95 |
-
|
| 96 |
btn.click(fn=update, inputs=[inp, file], outputs=mol)
|
| 97 |
demo.launch()
|
|
|
|
| 92 |
file = gr.File(file_count="single")
|
| 93 |
gr.Examples(["2CBA", "6VXX"], inp)
|
| 94 |
btn = gr.Button("View structure")
|
| 95 |
+
mol = gr.HTML()
|
| 96 |
btn.click(fn=update, inputs=[inp, file], outputs=mol)
|
| 97 |
demo.launch()
|