Use MODEL_SERVER_URL environment variable

This commit is contained in:
Rob Ballantyne
2025-08-25 17:57:32 +01:00
parent fc75a64684
commit 92ff412679
+1 -1
View File
@@ -12,7 +12,7 @@ from lib.server import start_server
from .data_types import ComfyWorkflowData
MODEL_SERVER_URL = "http://127.0.0.1:18288"
MODEL_SERVER_URL = os.getenv("MODEL_SERVER_URL", "http://127.0.0.1:18288")
# This is the last log line that gets emitted once comfyui+extensions have been fully loaded
MODEL_SERVER_START_LOG_MSG = "To see the GUI go to: http://127.0.0.1:18188"