Sygil-Dev/sygil-webui

[Bug]: Outputs are only gray textured images when adding a textual inversion prompt

jrusovick opened this issue · 3 comments

What happened?

When I am not including a textual conversion in the prompt, the outputs generate as I would expect.

However, replicating the prompt for the exact same prompt then adding a textual inversion to the txt2img prompt, a gray texture is the only output I receive - no matter what model, textual inversion prompt, syntax, positive prompt, negative prompt, etc.

Expected to Happen: Prompt generates any output other than a texture.

Here is a screenshot, just after I generated one image (without embedding a textual inversion prompt):

without_textualinversion

And here is just following the generation of one image (with an embedded textual inversion prompt):

with_textualinversion

As you can see its just a grayish texture, and that is what happens for every output with a textual inversion added. This occurs seemingly no matter what prompts I change, the models I try, LORAs are working properly - it is only the textual inversion.

Hope you can help, and thanks in advance!

Version

0.0.1 (Default)

What browsers are you seeing the problem on?

Chrome

Where are you running the webui?

Windows

Custom settings

No custom settings.

Relevant log output

No log output.

Code of Conduct

  • I agree to follow this project's Code of Conduct

That doesn't look like our UI, at least not the Streamlit UI which is the recommended one to use. If you are using the gradio UI from our repo please switch to the streamlit version and make sure you are on the latest code from the repo.

I have an AMD GPU - 6700 xt - so I need to use the DirectML version.

Would that have an impact?

This is resolved.

FYI, for anyone with a similar issue and on an AMD GPU, both the arguments below should be added to your webui-user.bat file (along with your other arguments on the line):

set COMMANDLINE_ARGS= --no-half-vae --no-half