From d1a7c327f71db821a179f18ccae93939ff1c5ee9 Mon Sep 17 00:00:00 2001 From: Xavi Vinaixa Date: Mon, 5 Jun 2023 07:30:48 +0200 Subject: [PATCH] Added queue and share=True to enhance compatibility with Google Colab --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index d459f74..75c1a21 100644 --- a/app.py +++ b/app.py @@ -48,4 +48,4 @@ with gr.Blocks() as demo: button.click(fn=run,inputs=[video]+origin+destination+thresholds,outputs=[video2]) #demo.launch(share=True,server_name="0.0.0.0", show_error=True) -demo.launch(show_error=True) \ No newline at end of file +demo.queue().launch(show_error=True,debug=True,share=True) \ No newline at end of file