Giter Site home page Giter Site logo

Comments (4)

Kahsolt avatar Kahsolt commented on May 23, 2024

It seems that webui updated its behaviour, the former version is
negative_prompt_text = "\nNegative prompt: " + p.negative_prompt if p.negative_prompt else ""
I'll fix this soon~

from stable-diffusion-webui-prompt-travel.

Kahsolt avatar Kahsolt commented on May 23, 2024

Nope, just now I pulled the latest webui and found nothing changed. Is this line

File "S:\Games\stable-diffusion-webui\modules\processing.py", line 417, in create_infotext
negative_prompt_text = "\nNegative prompt: " + p.all_negative_prompts[0] if p.all_negative_prompts[0] else ""

modified by you or your extensions?
The original one should be negative_prompt_text = "\nNegative prompt: " + p.negative_prompt if p.negative_prompt else "".

Actually in order to hack into the StableDiffusionProcessing, current implementation of this script copied a lot of codes from webui's repo. Hence once webui changed its related behaviour, I have to manually backport it to this repo. (I track the master branch, so if you use or develop other core branch, it might not work...)

from stable-diffusion-webui-prompt-travel.

Kahsolt avatar Kahsolt commented on May 23, 2024

Ok, finally I found I was working on another remote origin, so get pulled nothing...
It's indeed due to the behaviour change of webui, just now I've pushed a work around tagged v1.2-fix1, it temporarily works for me, and a total code refactorizing is on the way 😀

from stable-diffusion-webui-prompt-travel.

Puddz avatar Puddz commented on May 23, 2024

Yeah the fix worked. Updated the extension and can prompt travel again. Thanks.

from stable-diffusion-webui-prompt-travel.

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.