print localhost message

This commit is contained in:
Abubakar Abid 2020-06-11 12:36:33 -05:00
parent acc0998628
commit bbdf8ffc57

View File

@ -181,10 +181,9 @@ class Interface:
except: # TODO(abidlabs): don't catch all exceptions
pass
if self.verbose:
print(strings.en["BETA_MESSAGE"])
if not is_colab:
print(strings.en["RUNNING_LOCALLY"].format(path_to_local_server))
if not is_colab:
print(strings.en["RUNNING_LOCALLY"].format(path_to_local_server))
if share:
try:
share_url = networking.setup_tunnel(server_port)
@ -232,4 +231,5 @@ class Interface:
else:
display(IFrame(path_to_local_server, width=1000, height=500))
return httpd, path_to_local_server, share_url