Update web-demos/hugging_face/app.py

#13
by goryhon - opened
Files changed (1) hide show
  1. web-demos/hugging_face/app.py +3 -3
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(debug=True)
 
675
  inputs=[video_input],
676
  )
677
  gr.Markdown(article)
678
+ if __name__ == "__main__":
679
+ iface.queue()
680
+ iface.launch(share=True, ssr_mode=False)