blib-la / runpod-worker-comfy

ComfyUI as a serverless API on RunPod
GNU Affero General Public License v3.0
301 stars 205 forks source link

👋 Help me fix the Response Error? #68

Closed ajithradnus closed 1 month ago

ajithradnus commented 1 month ago

Hi,

Do you know why I'm receiving this response

"error": "Error waiting for image generation: '<' not supported between instances of 'int' and 'str'",

image

The prompt ran smoothly in the Runpod log, but the output response failed. Can you help me figure out how to fix this?

image

image

My Environment variables

image

best Radnus

Pseudotools commented 1 month ago

This looks like a small bug where the environment variables COMFY_POLLING_MAX_RETRIES and COMFY_POLLING_INTERVAL_MS have not been converted from string to int. Try removing these environment variables from your template - doing so fixed the issue for me!

Pseudotools commented 1 month ago

Submitted pull request to fix: https://github.com/blib-la/runpod-worker-comfy/pull/70

ajithradnus commented 1 month ago

Thanks 👍