All changes here should be backwards compatible, which means this update of Config Presets should work with older versions of Automatic1111.
-made txt2img_restore_faces and img2img_restore_faces optional components since they no longer exist
-changes for new Hires fix checkbox ID
-added Refiner and Switch at IDs
-fixes for internal sampler format changes
-added SDXL with Refiner default config preset
#56#58
img2img_restore_faces already added to the config list so uncommenting it in the text files offsets all the results.
xyz plot img2img properties have img not txt in them.
Co-authored-by: nykwil <gray.robb@gmail.com>
#45 added automatically renaming IDs in the custom tracked components ID function for when other extensions change their IDs
added specialized logging functions
added Tiled Diffusion (extension) IDs to default additional fields config file
updated missing component ID error message
the name of the currently selected config preset will be used to auto populate the a config preset name when clicking the Add/Remove button
Added new config files for custom tracked components for txt2img and img2img
Added "Add custom fields..." button
Renamed component IDs to start with "script_"
#28#31#32#33#34
* Added the ability to select which fields are saved when creating a new config preset (before, this could have been done manually by editing the .json config file)
* Moved some buttons around in the UI for creating a new config preset
* Added Hires Upscaler (txt2img_hr_upscaler), Upscale by (txt2img_hr_scale), and Restore Faces (txt2img_restore_faces) as eligible fields to be used in a config preset
* Tweaked default config preset values created during installation, removed "Default" preset
#27#6
* feat: keep unset component value
* feat(component): check if index type component return as string properly
* cleanup
rename some variables, comment out prints
---------
Co-authored-by: Zyin055 <5003647+Zyin055@users.noreply.github.com>
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
basedir() needs to be called in the global space to get the full path.
AVAILABLE_COMPONENTS doesn't need to be global anymore.
don't use exception handling as logic for component_map[], bad practice.
formatting tweaks.