Spaces:
Runtime error
Runtime error
Update web-demos/hugging_face/app.py
Browse files
web-demos/hugging_face/app.py
CHANGED
|
@@ -675,6 +675,6 @@ with gr.Blocks(theme=gr.themes.Monochrome(), css=css) as iface:
|
|
| 675 |
inputs=[video_input],
|
| 676 |
)
|
| 677 |
gr.Markdown(article)
|
| 678 |
-
|
| 679 |
-
iface.queue()
|
| 680 |
-
iface.launch(
|
|
|
|
| 675 |
inputs=[video_input],
|
| 676 |
)
|
| 677 |
gr.Markdown(article)
|
| 678 |
+
if __name__ == "__main__":
|
| 679 |
+
iface.queue()
|
| 680 |
+
iface.launch(share=True, ssr_mode=False)
|