Fork 0

Docs update

MMaker 2022-11-17 19:21:02 -05:00
parent 9137aa7bc9
commit 7e25cdbec5
Signed by: mmaker
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
An extension for [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that allows for random parameters during txt2img generation.
Syntax for randomization for parameters is `min, max, step`, with the exception of the randomize highres. param (a float value between `0` and `1`), and the seed and sampler list (comma separated list). Empty values are ignored.
Syntax for randomization for parameters is `min, max, step`, unless otherwise noted in the placeholder text. Empty values are ignored.
If enabled, this script is processed for *all* generations, regardless of the script selected, meaning this script will function with others as well, such as [AUTOMATIC1111/stable-diffusion-webui-wildcards](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards).

View File

@ -162,6 +162,6 @@ class RandomizeScript(scripts.Script):
randomize_hires_width = gr.Textbox(label='Highres. Width', value='', placeholder=hint_minmax)
randomize_hires_height = gr.Textbox(label='Highres. Height', value='', placeholder=hint_minmax)
randomize_other_CLIP_stop_at_last_layers = gr.Textbox(label='Stop at CLIP layers', value='', placeholder=hint_minmax)
randomize_other_sd_model_checkpoint = gr.Textbox(label='Checkpoint name', value='', placeholder=hint_list)
randomize_other_sd_model_checkpoint = gr.Textbox(label='Checkpoint name', value='', placeholder='Comma separated list. Specify ckpt OR ckpt:word')
return randomize_enabled, randomize_param_sampler_index, randomize_param_cfg_scale, randomize_param_steps, randomize_param_width, randomize_param_height, randomize_hires, randomize_hires_denoising_strength, randomize_hires_width, randomize_hires_height, randomize_other_CLIP_stop_at_last_layers, randomize_other_sd_model_checkpoint