From 875f7f24d1377103c879b4a26c71e006f059022b Mon Sep 17 00:00:00 2001 From: bennykok Date: Tue, 4 Jun 2024 12:47:36 -0700 Subject: [PATCH] fix: run issues --- custom_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index 9172287..3301830 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -1170,8 +1170,8 @@ async def update_run_with_output(prompt_id, data, node_id=None): if not bypass_upload and prompt_metadata[prompt_id].file_upload_endpoint is not None: try: - logger.info(f"\nhave_upload {have_upload} {node_id}") have_upload = 'images' in data or 'files' in data or 'gifs' in data or 'mesh' in data + logger.info(f"\nhave_upload {have_upload} {node_id}") if have_upload: await update_file_status(prompt_id, data, True, node_id=node_id)