This commit is contained in:
Saifeddine ALOUI 2023-06-26 00:17:14 +02:00
parent 02297f73a3
commit 3a7ee63976

2
app.py
View File

@ -1397,7 +1397,7 @@ if __name__ == "__main__":
url = f'http://{config["host"]}:{config["port"]}'
if config["host"]=="localhost":
if config["host"]!="localhost":
print(f'Please open your browser and go to http://localhost:{config["port"]} to view the ui')
ASCIIColors.success(f'This server is visible from a remote PC. use this address http://{get_ip_address()}:{config["port"]}')
else: