From 2ff19f53d0c062aa3185bf9b14cf2aeb5f217e46 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Fri, 12 Jan 2024 17:38:08 +0800 Subject: [PATCH] chore: enable log for events --- custom_routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index 097c20c..bb12448 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -180,6 +180,7 @@ async def comfy_deploy_check_status(request): }) async def send(event, data, sid=None): + print(event, data) try: if sid: ws = sockets.get(sid) @@ -285,7 +286,7 @@ async def upload_file(prompt_id, filename, subfolder=None, content_type="image/p filename = os.path.basename(filename) file = os.path.join(output_dir, filename) - # print("uploading file", file) + print("uploading file", file) file_upload_endpoint = prompt_metadata[prompt_id]['file_upload_endpoint']