Zyin055 98a922ac5c massive backend updates
the txt2img and img2img dropdowns are now separated. each has its own config file and its own config presets.
adjusted to sampler index not using checkboxes, but a dropdown now.
adjusted for the removal of firstpass width/height, and added Upscale by.
components on in the UI are tracked with elem_id instead of labels.
when creating a new preset, need to restart the UI because of stupid Gradio desync bug.
moved our dropdown UI section to below the gallery, instead of below the gallery's buttons.
added error handling incase the A1111 UI changes the again to hopefully not brick people's UI.
Create button renamed to Save & Restart.
#16
2023-01-02 17:08:40 -06:00
2023-01-02 17:08:40 -06:00
2023-01-02 17:08:40 -06:00
2023-01-02 17:08:40 -06:00
2022-12-13 01:04:06 -06:00
2022-12-21 18:52:04 -06:00

What does this do?

This Automatic1111 extension adds a configurable dropdown to allow you to change settings in the txt2img and img2img tabs of the Web UI.

Note: If you're updating from a version before 12/19/2022 your config.json settings will be overwritten. Make a backup if you want to keep your custom presets before updating.

Screenshots

The new dropdown in the image gallery.

gallery

Dropdown values (configurable), select one and the generation settings values will be applied to the Web UI.

dropdown

Each config preset holds values for:

  • Sampling Steps
  • Sampling method
  • Width
  • Height
  • Highres. fix
  • Firstpass width
  • Firstpass height
  • Denoising strength
  • Batch count
  • Batch size
  • CFG Scale

Clicking the "Add/Remove..." button lets you create and delete custom presets of settings currently in the Web UI. Each button has tooltips to help you.

dropdown

Screenshot of config.json, which can be opened with the "Open..." button. It's created after the extension is loaded for the first time. You can use this if you want finer control on editing your presets.

config

Installation

  • In your Automatic1111 Web UI, go to the Extensions tab > Install from URL > URL for extension's git repository: https://github.com/Zyin055/Config-Presets
  • Click the Install button

Known bugs

  • [Won't fix] Presets added/removed in one tab won't update to the dropdown in another tab until a Gradio restart

Changelog

12/21/2022

  • Added the "Add/Remove..." button to create and delete config presets within the Web UI

12/19/2022

  • config.json will be created on first startup, user edits will not be overwritten when updating the extension after updating to this version

12/15/2022

  • Fix for installation error on linux

12/13/2022

  • config.json was tweaked, added Firstpass width and Firstpass height
  • Better support for img2img tab compatibility

12/12/2022

  • Initial Release
Description
Extension for Automatic1111
Readme MIT 511 KiB
Languages
Python 95.1%
JavaScript 4.7%
CSS 0.2%