Comments (10)
I figured out the sort order.
script_data = always enabled scripts, custom scripts sorted alphabetically, extensions sorted by alpha of *.py file, built-in extensions
from sd_web_ui_preset_utils.
My goal with this project is to manage presets for custom scripts, but I can't gaurantee that I can achieve that, maybe for some.
It would have a create, delete, and edit. I kind of attached the word utils because I pictured it as a utility box when others are working on their scripts, they can manage presets when testing and have a quick restart button in reach.
from sd_web_ui_preset_utils.
manage presets for custom scripts, but I can't gaurantee that I can achieve that, maybe for some
that's good enough, I'm happy somebody is giving it a try!
For older non-updated custom scripts in the wiki, many can work/run as an extensions.
I thought about making some of them a bundle that people can autodownload these scripts.. I don't know how it would work. I haven't done anything with the idea yet. But you might be able to.
I fully support what you're trying to do.
from sd_web_ui_preset_utils.
Is there a way I can run a function after the scripts are preloaded. I can grab the components from the custom scripts but it feels like scope of the values get locked in during my change instantiation. I'd either have to refactor so I can mutate it, or find a way for my script to act last in the stack.
From my playing, sometimes it feels like the change method locks in the width of the list comprehension.
From my save method, if I call my components container directly, I can get a length that includes the components from a custom script, but when it's sent through the change method, everything is there except the custom script components.
But I need it through the change method, because component.value
isn't updated (change method pulls the correct values).
from sd_web_ui_preset_utils.
Well done
'utils' great! idea. You could add a great deal of value in that area, I'm sure
How hard is it to make a 'prompt history'?
Bare bones.
just a chronological list maybe?
Preferably with any dynamic prompts recorded how they were coded
ie '{medium\photography\lighting|medium\photography\lens}'
and not just the 'results' from their output
ie. For this prompt, ping info reports 'Lumen Reflections, F/2.8'
but all the hard work goes into the dynamic prompt which currently isn't saved
from sd_web_ui_preset_utils.
@vis223 we do have styles already for saving your prompts, did you try it?
from sd_web_ui_preset_utils.
find a way for my script to act last in the stack
i'm not sure, and I hadn't known about which gets loaded first.
from sd_web_ui_preset_utils.
I noticed that the order in the scripts
dropdown, are the same order of filename, not title.
from sd_web_ui_preset_utils.
so apparently it needs to be a custom script, not extension, and named zzz.py?
that's probably not the best idea but it would be simple to automatically move the file with install.py to scripts folder. It was done over here https://github.com/dr413677671/PromptGallery-stable-diffusion-webui/blob/main/install.py
from sd_web_ui_preset_utils.
Can you check my post and give an opinion. #29 (comment)
from sd_web_ui_preset_utils.
Related Issues (20)
- Create Delete Preset Button
- "width" and "heigth" presets not working with "stable-diffusion-webui-randomize" extension HOT 1
- Updating the extension overwrites custom presets HOT 3
- Load saved parameters on top while preserving existing settings possible? HOT 7
- Checking for Updates in Extensions tab resets all user presets HOT 3
- possible to move it to top at Quick Settings or bottom of the Image Gallery? HOT 4
- Current A1111 UI layout renamed "Sampling Steps" to "Sampling steps" (case change) HOT 3
- Cannot boot after install HOT 1
- Sorting the list HOT 3
- is this working as of the newest update?
- Selecting a preset don't change Hires fix toggle HOT 4
- On startup make dropdownlist expanded by default
- suggestion maybe. scan users' addon and setting, save it to the preset
- [BUG]: value error HOT 1
- Save settings without saving seed HOT 1
- No working after updated Stable Diffusion HOT 10
- can't save option in script HOT 1
- After update Stable Diffusion the addon dont work anymore! HOT 1
- The plugin has expired,Request updates HOT 2
- Thank you for the update. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd_web_ui_preset_utils.