From 4864560586d78b5d1aef27f36d04c12f118a3061 Mon Sep 17 00:00:00 2001 From: aliabd Date: Thu, 2 Jul 2020 05:05:17 -0700 Subject: [PATCH] shortened colab delay to 1s --- gradio/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradio/interface.py b/gradio/interface.py index 15eadc7f1d..7e4b066436 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -306,7 +306,7 @@ class Interface: is_colab ): # Embed the remote interface page if on google colab; # otherwise, embed the local page. - time.sleep(5) + time.sleep(1) display(IFrame(share_url, width=1000, height=500)) else: display(IFrame(path_to_local_server, width=1000, height=500))