gerschel / sd_web_ui_preset_utils Goto Github PK
View Code? Open in Web Editor NEWPreset Manager moved private
Preset Manager moved private
I have to click on "Preset Manager" then choose my preset.
I think it's an unnecessary step, is there a way by any change to make it expanded by default?
When I select a preset that involves the Hires fix options and the options where previously hidden, the selection of the preset doesn't unhide them. The checkbox is selected though, but the options remain hidden. Only an uncheck/check can solve this and unhide it.
Please provide a fix for this.
possible to move it to top at Quick Settings or bottom of the Image Gallery?
Originally posted by @mocmocmoc in #26 (reply in thread)
such as "Include Sub Images" in x/y/z plot
Hi there,
thanks for the preset! it does help! but i found it couldn't save the setting on LoRA and Controlnet etc. so i recommend to scan the users' addon. once it do something different from the default, it can be save to the preset.
Good day!
Currently save_as and save_button are different heights
If they were in the same row, equal_height = True would work
Currently, if I put them in the same row, save_as expands full width, then shrinks when starting to type
In user.css, put a max-width parameter on save_as
List of things to implement this:
With the most recent UI changes to the layout of txt2img and img2img, the case of "steps" is no longer uppercase, "Steps", so the value doesn't get changed when clicking on the dropdown..
I am not well versed in GitHub, so I made the changes manually to the zpreset_utils.py
and presets.json
.
Will need to updated in the master.
Hi. I can't save preset because I get error whenever I save new preset.
I would like for user presets to not be lost every time I check for updates in extensions tab.
Currently, if a person used a setting from one tab to another, it will skip that component from the setting if there is no component.
Example.
In txt2img, we have 'Hires. fix' as an option. And if we save a setting that uses that component, then load that setting in img2img, img2img knows that component is None, so it skips attempting to load it.
But if we load a setting that has the component, but the options are not the same, i.e samplers, scripts, like using 'SD upscale' in a save on img2img, then try to load that in txt2img, it verifies that component exists, but should also verify if value exists before attempting to apply it.
Reference: #12
I really like this plugin, it's very convenient to use, but the latest version has expired. Can you request an update to the plugin that is compatible with the latest stable version SD? Thank you
In the title.
I miss a convenient way to sort the preset list. Any chance to get this ... ?
Great and helpful tool otherwise, thanks.
I installed extension by URL, its installed but don't see any "Utils" area like the images on your github. Can you help me please ? Thank you
The issue with having the delete button before; the other tab (txt2img, img2img), would still have it in memory,
This resulted in a situation where, if you deleted in one tab, and saved something else in the other, the old setting would be resaved as well.
Now that I implemented communication between the tabs in that area of issue, I can try to re-implement the delete button.
Hello, I love this extension, but would like to know how to delete a saved preset?
Pulling presets did not set "width" and "heigth", saving preset from either quick set or deteiled save did not save values.
Tracked down presence of extension "stable-diffusion-webui-randomize" as trigger.
Is there a way to save all settings except the seed? I would prefer to not have to manually click each setting I want to save if possible.
Issue is resolved. Issue was created to attach to milestone.
Error during the first boot of the newest webui after install
Traceback (most recent call last):
File "/home/catalpa/nas/program/stable-diffusion-webui/launch.py", line 294, in
start()
File "/home/catalpa/nas/program/stable-diffusion-webui/launch.py", line 289, in start
webui.webui()
File "/home/catalpa/nas/program/stable-diffusion-webui/webui.py", line 137, in webui
shared.demo = modules.ui.create_ui()
File "/home/catalpa/nas/program/stable-diffusion-webui/modules/ui.py", line 617, in create_ui
modules.scripts.scripts_txt2img.initialize_scripts(is_img2img=False)
File "/home/catalpa/nas/program/stable-diffusion-webui/modules/scripts.py", line 224, in initialize_scripts
script = script_class()
File "/home/catalpa/nas/program/stable-diffusion-webui/extensions/sd_web_ui_preset_utils-master/scripts/zpreset_utils.py", line 117, in init
self.ui_first = shared.opts.ui_reorder.split(",")[0].strip()
File "/home/catalpa/nas/program/stable-diffusion-webui/modules/shared.py", line 462, in getattr
return super(Options, self).getattribute(item)
AttributeError: 'Options' object has no attribute 'ui_reorder'. Did you mean: 'reorder'?
Add ability to grab component by element id if element id exists, if None, default to label
A potential issue is if a component comes in with matching label, then later correct component comes in with element id.
In this situation, pop other component off and replace with this component.
Other potential issue, if more than one component labels match, but no element id's do, how do I choose which is the correct one.
A possible method, but not desirable, would be to check up the parent tree and see if I can determine script/extension owner.
But this traversal would have to occur after all scripts have been loaded. (non-blocking wait? dynamic fill in through out of scope mutable fields in lists?)
The preferred way; I would get the name of the owner handed to me. A solution, create a pull request to the main project where a component kwargs include the script name. Ideally, others would utilize the element id's.
A short-term fix, add all matching components to additional_components.json, and allow user to specify the correct one through either the inspect, or selective save.
I am using x-y(-z) plots a lot to get an idea of possible iterations. Would it be possible to load a saved set of limited presets on top of a preconfigured setup (for example - prompt, size, steps fields set in tab, preset with only plot parameters saved) without overwriting or clearing the previosly set parameters?
Could you provide way to retain saved presets (even if not in working order) when updating/overwriting the extension? Perhaps a diffent filename for the provided examples?
What should the description be?
Preset dont save Controlnet, Tiled Diffusion, Tiled Vae settings. Do this extension save these settings or will you update it for it ? Thank you :)
This will be an ongoing task, for each update
I checked for updates today. I'm so relieved to see that the error is gone. Thank you for your hard work.
Just a view minutes ago, whenever I click on a preset to be restored, I get this:
Traceback (most recent call last):
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api
result = await self.call_function(
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function
prediction = await anyio.to_thread.run_sync(
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "I:\Super SD 2.0\automatic\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "I:\Super SD 2.0\automatic\extensions\sd_web_ui_preset_utils\scripts\zpreset_utils.py", line 592, in fetch_valid_values_from_preset
return [
File "I:\Super SD 2.0\automatic\extensions\sd_web_ui_preset_utils\scripts\zpreset_utils.py", line 607, in
else self.component_map[comp_name].choices[self.component_map[comp_name].choices.index(comps_vals[i])]
ValueError: [] is not in list
Any ideas what happend? 😶
@Gerschel ... ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.