From 4ebc2e3d4235300850f2a84218a1f0b025014008 Mon Sep 17 00:00:00 2001 From: saltacc Date: Mon, 11 Mar 2024 14:53:23 -0700 Subject: [PATCH] cast timeout env var to int --- workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py b/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py index 116c1c7..ef5fa8a 100644 --- a/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py +++ b/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py @@ -5,7 +5,7 @@ import json import time SERVER_IP = os.environ.get("SERVER_IP", "127.0.0.1:8188") -TIMEOUT_SECONDS = os.environ.get("TIMEOUT_SECONDS", 1000) +TIMEOUT_SECONDS = int(os.environ.get("TIMEOUT_SECONDS", 1000)) PROMPT_ENDPOINT = f"http://{SERVER_IP}/prompt" def parse_args():