Replies: 1 comment
-
I got the same issue. Anyone has the fix? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Getting a TypeError: argument of type 'NoneType' is not iterable when trying to use Hires Fix hrough the API endpoint /sdapi/v1/txt2img. File "C:\Stable Diffusion2\webui\modules\processing.py", line 1405, in sample
if hasattr(self, 'hr_additional_modules') and 'Use same choices' not in self.hr_additional_modules:
TypeError: argument of type 'NoneType' is not iterable
OS: Windows
Stable Diffusion Forge last version
API: FastAPI (built-in webui API)
Python version: python: 3.10.6
torch: 2.3.1+cu121
set COMMANDLINE_ARGS= --autolaunch --xformers --api --listen --port 7860 --share --disable-nan-check
request to /sdapi/v1/txt2img with Hires Fix parameters:
Error occurs during image processing
The same Hires Fix settings work fine through the web UI
API works correctly when enable_hr is set to false
I'm a complete noob and wrote almost all of the code using Claude AI. It worked perfectly, and I can send prompts via Telegram and receive images, but when I wanted to add a hires fix, nothing helped.
Beta Was this translation helpful? Give feedback.
All reactions