Replies: 2 comments 7 replies
-
I pushed an update. You might have to go in to the extension and do a git pull yourself. You could also delete the file zpreset_utils.py, and do the update process in the extensions tab. They modified how the sorter works, I deleted eveything with that process, so it shouldn't happen again. Navigate to this folder, you can copy and paste this path, it's based on your setup, and delete zpreset_utils.py C:\Users\aroyc\stable-diffusion-webui\extensions\sd_web_ui_preset_utils\scripts\ Or you could even delete lines 117, 118, 119, and it will run. |
Beta Was this translation helpful? Give feedback.
-
I have some questions. I've done a full rewrite, it's not polished. I made it able to work on all tabs. In order for me to see it on all tabs, I pulled it out of the flow and turned it into a floating window. But, to me it feels like it's in the way because everything flows to fill the void. And, now it reaches all components, except a few that share the same element id in the same region (region being quicksetting, scripts, and tabs main area) But I lost the ability for a preset to be used from between txt2img and img2img. The question is, if a preset was saved, and it included quicksettings, should the quicksettings be separate so it can be used across tabs, or is it no big deal because it would be used for those specific settings anyways? This dilemma is keeping me from finishing it. I don't like how the checkbox group is so big, then when you go on deforum tab, it's huge. Which is what makes me consider having more separation by regions and splitting up the checkbox group. It's hard to do want to do a partial rewrite when feel like I have so much time on it, I just need to get to a release version. But if I release it too early, then I'll probably get a lot of support requests while I'm trying to handle the improvement. Right now I have a bit of time, I'm a Carpenter going through my layoff period, but soon I will be so busy I wont get a day off for months. Doing the separation will change my data structure, and I can do a reasonable hack in a fair amount of time, but would like to not uglify my code too soon, so would rather have a clean structure and do it right. If you can give me some insight to how an expectation of workflow would look like, that would help. |
Beta Was this translation helpful? Give feedback.
-
Tried starting Webui today and after it went through a git pull it does this. and if I press any key it crashes...Thoughts?
Already up to date.
venv "C:\Users\aroyc\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: AUTOMATIC1111/stable-diffusion-webui@ff6a5bc
Installing requirements for Web UI
Launching Web UI with arguments: --xformers
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [5d5ad06cc2] from C:\Users\aroyc\stable-diffusion-webui\models\Stable-diffusion\mdjrny-v4.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Textual inversion embeddings skipped(7): anthro, CGI_Animation-185, CGI_Animation-245, CGI_Animation, midjourney, VikingPunk, vray-render
Model loaded in 5.9s (0.6s create model, 3.2s load weights).
Traceback (most recent call last):
File "C:\Users\aroyc\stable-diffusion-webui\launch.py", line 308, in
start()
File "C:\Users\aroyc\stable-diffusion-webui\launch.py", line 303, in start
webui.webui()
File "C:\Users\aroyc\stable-diffusion-webui\webui.py", line 159, in webui
shared.demo = modules.ui.create_ui()
File "C:\Users\aroyc\stable-diffusion-webui\modules\ui.py", line 588, in create_ui
modules.scripts.scripts_txt2img.initialize_scripts(is_img2img=False)
File "C:\Users\aroyc\stable-diffusion-webui\modules\scripts.py", line 245, in initialize_scripts
script = script_class()
File "C:\Users\aroyc\stable-diffusion-webui\extensions\sd_web_ui_preset_utils\scripts\zpreset_utils.py", line 119, in init
self.positon_manager = self.reorder_map[self.ui_first]
KeyError: 'inpaint'
Press any key to continue . . .
I moved your extension folder to solve this problem. Looks like the latest update knocked your code out.
I really like what your Preset tool does I found it to work very nicely. I do have a question however, I created several presets and noted that when I created a certain amount of them that the window that displayed the list of presets did not show a scroll bar when the number of presets I created exceeded the size of the preset window.
Beta Was this translation helpful? Give feedback.
All reactions