Git Product home page Git Product logo

Comments (3)

tarpeyd12 avatar tarpeyd12 commented on July 21, 2024

For your specific prompt: try changing [deepnegative:0.2] to (deepnegative:0.2).

Though this is certainly a problem with [from:to:when] constructions in the negative prompt.

from sd-webui-cutoff.

hnmr293 avatar hnmr293 commented on July 21, 2024

Okay, I've confirmed it is reproducible.
This problem is caused by a combination of sevaral factors.

  1. You are using a large negative prompt over 75 tokens. I think deepnegative in your negative prompt is a TI such a ng_deepnegative_v1_64t or ng_deepnegative_v1_75t of https://civitai.com/models/4629/deep-negative-v1x. Right? They consist of 64 or 75 tokens.
  2. You are using prompt editing - whether you intended to or not. And its "before" and "after" token counts are different. You have not specified a "before" prompt, so the "before" token count is 0. On the other hand, the "after" token count is the deepnegative's token count, 64 or 75.
  3. As a result of that, various things have happened. Thus they led to the error.

This is a bug. But it is very hard to fix for me. If I can come up with a better way, I will work on it.

For workaround, as @tarpeyd12 said, use (deepnegative:0.2). Perhaps that is what you really want to do.
If not, and you really want to use prompt editing, ... I can't figure out a good way which might solve your problem right away.
Sorry.

from sd-webui-cutoff.

akari-1129 avatar akari-1129 commented on July 21, 2024
  1. You are using prompt editing - whether you intended to or not.

it was intentional but i guess i'll have to do without it when using this exension. hopefully you can work it out someday, it works great otherwise

from sd-webui-cutoff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.