Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: {'type': 'prompt outputs failed validation','message’:'Prompt outputs failed validation', 'details': 'Required input is missing: format #1483

Open
Aaron-Luo-0 opened this issue Dec 13, 2024 · 3 comments

Comments

@Aaron-Luo-0
Copy link

Hi Ackley:

when I use Krita-ai, I get the error message in the picture, but strangely, I performed the same installation steps on another computer and no errors were reported, in which my comfyui has been upgraded to the latest version, and other custom nodes has been upgraded to the latest version,
Could this be because I am using aki's comfyui launcher?
what should I do to solve it! What should I do to solve this problem? @Acly
微信图片_20241213180859

微信图片_20241213180918

@Acly
Copy link
Owner

Acly commented Dec 13, 2024

What is the plugin version?

@Aaron-Luo-0
Copy link
Author

I'm not sure if this is the plugin version?
version = "1.10.0"
i got this from init.py(C:\Users\Admin\AppData\Roaming\krita\pykrita\ai_diffusion)

"""Generative AI plugin for Krita using Stable Diffusion"""

version = "1.10.0"

import importlib.util

if not importlib.util.find_spec(".websockets.src", "ai_diffusion"):
raise ImportError(
"Could not find websockets module. This indicates that it was not installed with the"
" plugin. Please make sure to download a plugin release package (NOT just the source!). You"
" can find the latest release package here:"
" https://github.com/Acly/krita-ai-diffusion/releases"
)

The following imports depend on the code running inside Krita, so the cannot be imported in tests.

if importlib.util.find_spec("krita"):
from .extension import AIToolsExtension

@Acly
Copy link
Owner

Acly commented Dec 13, 2024

Yea this is like a year old. Please install latest version https://github.com/Acly/krita-ai-diffusion/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants