mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
Merge branch 'master' into abidlabs/external
This commit is contained in:
commit
30d8f12446
@ -1,3 +1,3 @@
|
||||
pytorch-transformers==1.0.0
|
||||
Flask==1.1.1
|
||||
Flask-Cors==3.0.8
|
||||
Flask-Cors==3.0.9
|
||||
|
@ -445,7 +445,7 @@ class Interface:
|
||||
|
||||
# If running in a colab or not able to access localhost, automatically create a shareable link
|
||||
is_colab = utils.colab_check()
|
||||
if is_colab or (share and not(networking.url_ok(path_to_local_server))):
|
||||
if is_colab or not(networking.url_ok(path_to_local_server)):
|
||||
share = True
|
||||
if is_colab:
|
||||
if debug:
|
||||
@ -508,7 +508,7 @@ class Interface:
|
||||
while True:
|
||||
sys.stdout.flush()
|
||||
time.sleep(0.1)
|
||||
|
||||
|
||||
return app, path_to_local_server, share_url
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user