Acly / krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'ImageScale'

Wladislav opened this issue · comments

Hello, I did everything as described here https://www.interstice.cloud/plugin. But I get an error: KeyError: 'ImageScale' when I try to generate an image and KeyError: 'DifferentialDiffusion' when I do an Infill on an image. Can you help with something please?

150307
150459

KeyError: 'ImageScale'
got prompt
Error handling request
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 543, in handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 42, in cache_control
response: web.Response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 54, in cors_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 469, in post_prompt
valid = execution.validate_prompt(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 625, in validate_prompt
class
= nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'ImageScale'

commented

It means it can't find some nodes in your ComfyUI install. It's probably just too old and needs an update.

It means it can't find some nodes in your ComfyUI install. It's probably just too old and needs an update.

I get CompyUI from https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z
Is this an old version?

153750

Where is there a newer version of ComfyUI?

commented

No the version is fine. Can you find the node in the UI?
image

No the version is fine. Can you find the node in the UI?

000936
That's all there is. Do I need to add anything?

commented

Both ImageScale and DifferentialDiffusion are part of base ComfyUI. You have a bunch of nodes I don't know, presumably from some other extensions. Maybe there is a conflict?

Both ImageScale and DifferentialDiffusion are part of base ComfyUI. You have a bunch of nodes I don't know, presumably from some other extensions. Maybe there is a conflict?

Thank you very much! Works!