mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-28 09:08:54 +00:00
comfy: log where rust can find them
This commit is contained in:
@@ -164,7 +164,7 @@ def wait_for_comfy_startup(server_address, timeout=SERVER_START_TIMEOUT, termina
|
|||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
outer_retries = 2
|
outer_retries = 1
|
||||||
restart_trigger_file = args.server_restart_trigger_file
|
restart_trigger_file = args.server_restart_trigger_file
|
||||||
|
|
||||||
pipeline_type = PipelineType.BASE
|
pipeline_type = PipelineType.BASE
|
||||||
|
|||||||
@@ -263,12 +263,13 @@ async def main():
|
|||||||
if not args.skip_comfy_startup:
|
if not args.skip_comfy_startup:
|
||||||
print("Starting comfy server")
|
print("Starting comfy server")
|
||||||
try:
|
try:
|
||||||
await asyncio.create_subprocess_exec(
|
comfyui_process = subprocess.Popen(["../venv/bin/python", "main.py", "--highvram", "--disable-metadata"], cwd=COMFY_ROOT_DIRECTORY, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)
|
||||||
"../venv/bin/python", "main.py", "--highvram", "--disable-metadata", cwd=COMFY_ROOT_DIRECTORY,
|
# await asyncio.create_subprocess_exec(
|
||||||
stdout=subprocess.PIPE,
|
# "../venv/bin/python", "main.py", "--highvram", "--disable-metadata", cwd=COMFY_ROOT_DIRECTORY,
|
||||||
stderr=subprocess.PIPE,
|
# stdout=subprocess.STDOUT,
|
||||||
stdin=subprocess.PIPE
|
# stderr=subprocess.STDOUT,
|
||||||
)
|
# stdin=subprocess.PIPE
|
||||||
|
# )
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Error while starting comfy server")
|
print("Error while starting comfy server")
|
||||||
print(e)
|
print(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user