From 8b17af6e77ddca65dbcbec3de31d02b04bfffbaa Mon Sep 17 00:00:00 2001 From: dawoodkhan82 Date: Mon, 31 Aug 2020 17:54:22 -0400 Subject: [PATCH] messaging fix --- gradio/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradio/interface.py b/gradio/interface.py index 5fb3eed353..d56acb2408 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -310,8 +310,6 @@ class Interface: share = True else: print(strings.en["RUNNING_LOCALLY"].format(path_to_local_server)) - print("To get a public link for a hosted model, " - "set Share=True") else: if debug: print("Colab notebook detected. This cell will run indefinitely so that you can see errors and logs. " @@ -344,6 +342,8 @@ class Interface: if self.verbose: print(strings.en["COLAB_NO_LOCAL"]) else: # If it's not a colab notebook and share=False, print a message telling them about the share option. + print("To get a public link for a hosted model, " + "set Share=True") if self.verbose: print(strings.en["PUBLIC_SHARE_TRUE"]) share_url = None