mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-09 02:00:44 +08:00
shortened colab delay to 1s
This commit is contained in:
parent
caf5efb30e
commit
8cf88d5079
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user