diff --git a/action.py b/action.py index 34b3f9b..6ebdaac 100644 --- a/action.py +++ b/action.py @@ -159,7 +159,16 @@ def main(args): start_time = int(datetime.datetime.now().timestamp()) try: result = subprocess.run( - ["comfy", "--skip-prompt", "--no-enable-telemetry", "run", "--workflow", file_path], + [ + "comfy", + "--skip-prompt", + "--no-enable-telemetry", + "run", + "--workflow", + file_path, + "--timeout", + 600 + ], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,