Code Monkey home page Code Monkey logo

sd-webui-state-manager's Introduction

ko-fi

[W.I.P.] This extension is in open beta!

Please be aware that this extension has not been thoroughly tested yet. If you notice any bugs, please raise an issue here on github or message me on Discord (blue.tomato).

State Manager

After trying a number of history/ state management extensions, I found they all suffered from one of more of these problems:

  • Bad UI/UX
  • Not saving the entire state
  • Just plain not working

I tried to solve these issues by creating an extension that scrapes and restores the entire state as best as possible, including quicksettings (checkpoint, VAE, clip skip are common ones), generation settings (samples, size, seed, etc.), and script and accordion settings.

Usage

This extension adds two buttons to the top of A1111. The first (⌛⚙) opens the state browser; here you can view and manage your generation history and favourites. The browser opens as a side drawer by default, but can be opened as a full-screen modal window as well.

Clicking on an entry will show its settings in the inspector, and you can apply settings to your current workspace per-setting or per-category using the designated buttons, or you can apply all of them by double-clicking the entry instead.

You can also multi-select entries by holding ctrl or the meta key ( on MacOS), or range select by holding shift.

By default auto-save is on, and every time you generate an image in either txt2img or img2img the state is saved to the history, and a small 100x100 thumbnail is saved alongside it.

If you'd rather save your entries manually, just turn off the toggle in the state browser panel, and use the second button on the top (⌛💾) to add them that way.

Known shortcomings

Unfortunately there is no clean way to access gradio data on the client side, so all settings are saved and mapped by their UI label. If these labels ever change – whether by update or a different translation/ i18n language – old settings will no longer apply. This does unfortunately make this extension a bit fragile.

Installation

Open your A1111 Web UI and go to Extensions > Install from URL. Paste in the link to this repo (https://github.com/SenshiSentou/sd-webui-state-manager.git), click Install and restart the web ui. Badabing badaboom, baby!

sd-webui-state-manager's People

Contributors

senshisentou avatar nadahar avatar

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.