mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Add warning message about change in default host
This commit is contained in:
parent
12755c6ef6
commit
f46916d521
@ -320,11 +320,12 @@ def dream_server_loop(t2i, host, port):
|
|||||||
# Start server
|
# Start server
|
||||||
DreamServer.model = t2i
|
DreamServer.model = t2i
|
||||||
dream_server = ThreadingDreamServer((host, port))
|
dream_server = ThreadingDreamServer((host, port))
|
||||||
print("\nStarted Stable Diffusion dream server!")
|
print(">> Started Stable Diffusion dream server!")
|
||||||
if host == '0.0.0.0':
|
if host == '0.0.0.0':
|
||||||
print(f"Point your browser at http://localhost:{port} or use the host's DNS name or IP address.")
|
print(f"Point your browser at http://localhost:{port} or use the host's DNS name or IP address.")
|
||||||
else:
|
else:
|
||||||
print(f"Point your browser at http://{host}:{port}.")
|
print(">> Default host address now 127.0.0.1 (localhost). Use --host 0.0.0.0 to bind any address.")
|
||||||
|
print(f">> Point your browser at http://{host}:{port}.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
dream_server.serve_forever()
|
dream_server.serve_forever()
|
||||||
|
Loading…
Reference in New Issue
Block a user