Code Monkey home page Code Monkey logo

sd_web_ui_preset_utils's People

Contributors

gerschel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sd_web_ui_preset_utils's Issues

Selecting a preset don't change Hires fix toggle

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.

Make save_as and save_button equal_heights without making save_as take over the row's width while button is hidden

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:

  • Get rid of column for button
  • make sure components have elem id's
  • add in init, the same check modify I used in xyz to update user.css
  • enable equal_heights in gr.row()

If Script dropdown in img2img setting is not in txt2img, valueerror xxxx not in list

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.

The plugin has expired,Request updates

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

Sorting the list

In the title.
I miss a convenient way to sort the preset list. Any chance to get this ... ?

Great and helpful tool otherwise, thanks.

"Utils" panel dont show in WebUI

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

Create Delete Preset Button

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.

can't save preset

Hi, I can't save preset – button for safe is always gray

image

Windows, Firefox- WebUI latest

Save settings without saving seed

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.

Cannot boot after install

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 element id filter and priority

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.

After update Stable Diffusion the addon dont work anymore!

hi,

I've been using it for some time now! in my automatic 1111, but today after i update for the last version of stable diffusion automatic 1111 the extension don't work anymore! :(

it give this errors:
errors

any idea how to fix this? thks

Load saved parameters on top while preserving existing settings possible?

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?

Thank you for the update.

I checked for updates today. I'm so relieved to see that the error is gone. Thank you for your hard work.

[BUG]: value error

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 ... ?

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.