Coder Social home page Coder Social logo

Add Model option about config-presets HOT 3 OPEN

mcmonkey4eva avatar mcmonkey4eva commented on May 28, 2024
Add Model option

from config-presets.

Comments (3)

Zyin055 avatar Zyin055 commented on May 28, 2024

I'm hesitant to add too many fields to the presets since it reduces their flexibility.

If I could find a way in the code to not update components if they are omitted from the config then then I'd consider it, but I can't figure out how to do that.

from config-presets.

Zyin055 avatar Zyin055 commented on May 28, 2024

I tried adding the model as a config preset with the new "Add tracked fields..." button, but those top row buttons are actually part of the web ui settings and are out of scope for the config preset dropdown to manipulate with the way extension is currently implemented.

Adding the model, or anything else in the top row of the web ui, would require custom attention that this extension isn't designed for.

from config-presets.

Symbiomatrix avatar Symbiomatrix commented on May 28, 2024

@Zyin055 Personally I don't have much use for model swapping, but if you want, you could connect certain preset keys to lambda functions, which are then called along with a value change. It's a fairly simple and dynamic method, though naturally it would still require extra research on webui's infrastructure per such preset. I've used that method in regional to apply loading & colour correction to the mask preset.
modules.sd_models.load_model

from config-presets.

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.