Type Error When ENV vars are set via Runpod Template
Opened this issue · 1 comments
jelling commented
runpod-worker-comfy/src/rp_handler.py
Line 333 in 0db21af
When defining a template on Runpod, there is an option to manually set environment variables. These variables seem to be interpolated as strings at run-time. That causes this division statement to fail as it can't divide a string.
Apologies for not PR'ing the fix for here and other places, but I've got a fork and then a subtree from that and I don't have my tooling setup well yet.
mikedegeofroy commented
I've just faced the same issue, when setting COMFY_POLLING_MAX_RETRIES
runpod-worker-comfy/src/rp_handler.py
Lines 324 to 326 in 0db21af
Error waiting for image generation: '<' not supported between instances of 'int' and 'str'