mirror of
https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator.git
synced 2024-01-11 09:00:44 +01:00
33683c21eaacbc9386f2ee73c711e42c5b890893
Prompt Generator
Adds a tab to the webui that allows the user to generate a prompt from a small base prompt. Based on FredZhang7/distilgpt2-stable-diffusion-v2. I did nothing apart from porting it to AUTOMATIC1111 WebUI
Installation:
- Install AUTOMATIC1111's Stable Diffusion Webui
- Clone this repository into the
extensionsfolder inside the webui
Usage:
- Write in the prompt in the Start of the prompt text box
- Click Generate and wait
Parameters Explanation
- Start of the prompt: As the name, the start of the prompt that the generator should start with
- Temperature: A higher temperature will produce more diverse results, but with a higher risk of less coherent text
- Top K: The number of tokens to sample from at each step
- Max Length: the maximum number of tokens for the output of the model
- Repetition Penalty: The penalty value for each repetition of a token
- How Many To Generate: The number of results to generate
- Use blacklist? Using
.\extensions\stable-diffusion-webui-Prompt_Generator\blacklist.txt. It will delete any matches to the generated result (case insensitive). Be aware that it simply deletes it and doesn't generate more to make up for the lost words
Description
An extension to AUTOMATIC1111 WebUI for stable diffusion which adds a prompt generator
Readme
112 KiB
Languages
Python
88.8%
JavaScript
11.2%
