enh: comfyui logs

This commit is contained in:
Timothy J. Baek 2024-08-21 23:22:12 +02:00
parent 3f0b7b29db
commit f3e8dd1f2e

View File

@ -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}")