Browse Source

enh: comfyui logs

Timothy J. Baek 10 months ago
parent
commit
f3e8dd1f2e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      backend/apps/images/utils/comfyui.py

+ 2 - 0
backend/apps/images/utils/comfyui.py

@@ -147,6 +147,8 @@ async def comfyui_generate_image(
         return None
 
     try:
+        log.info("Sending workflow to WebSocket server.")
+        log.info(f"Workflow: {workflow}")
         images = await asyncio.to_thread(get_images, ws, workflow, client_id, base_url)
     except Exception as e:
         log.exception(f"Error while receiving images: {e}")