Comments (2)
how do you install this, can you add instructions?
This is a little trick I use whenever there aren't install instructions:
Look at the file/folder structure of the program you're using and compare it to the addon. In this case, the Webui and this repository both have a "Scripts" folder. This would lead me to believe that installing means placing the contents of this repository into the root directory of the webui.
So, first download the repo, then place the contents in the root directory. A more involved method would be copying the contents of the "Scripts" folder from this repo and placing it into the "Scripts" folder of the Webui, then make the "wildcards" folder in the root directory as well. Your scripts folder should have the wildcards.py file inside.
And the Root Directory should have the 'wildcards' folder
Next you would want to create the wildcard files themselves. Here is an example one I made for hair length. I have hair lengths on their own lines, and the file is named "hairlength.txt" [I have noticed that spaces in the file name do not work, so I keep the files as 1 word]
Now, in order to make this work in the Webui, you do a double underscore, then the wildcard file name, then another double underscore. In this case, it would be hairlength
This will cause webui to look at the hairlength.txt file, and pull a random line from that file.
LMK if there is anything else you do not understand.
from stable-diffusion-webui-wildcards.
I think https://github.com/adieyal/sd-dynamic-prompts is the new replacement for this script.
from stable-diffusion-webui-wildcards.
Related Issues (20)
- Combinatorial generation keyword as keyword for filename
- Is it possible to generate random values with a fixed seed?
- Request: add utf-8 support HOT 1
- Add support to face editor HOT 1
- [Feature Request] Add sequential order HOT 1
- Wildcard weight doesn't modify LoRA weight
- Wildcard characters cannot be used with random input problem
- Loras in wildcard prompts HOT 1
- Only choose the last line of a wildcard file when using CRLF
- Suggestion Click to add to prompt
- I don't have that wildcard, but I keep getting an error. HOT 1
- Using Wildcards in the Negative Prompt HOT 3
- random function
- Feature request: "Add new wildcards file" from UI
- Wildcards not populated in hires prompt when using hires fix
- Suddently stopped working, it keeps printing an utf-8 error HOT 1
- Wildcard tab visible twice in https://github.com/vladmandic/automatic HOT 1
- Is it reentrant?
- first time using wildcards in SD ( used in fooocus for 6 months )
- Print out what wildcard was used?
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 stable-diffusion-webui-wildcards.