2022-09-07 05:30:04 +03:00
|
|
|
# UI defaults configuration file. It is automatically loaded if located at configs/webui/webui_streamlit.yaml.
|
|
|
|
# Any changes made here will be available automatically on the web app without having to stop it.
|
2022-09-09 10:44:35 +03:00
|
|
|
# You may add overrides in a file named "userconfig_streamlit.yaml" in this folder, which can contain any subset
|
|
|
|
# of the properties below.
|
2022-09-07 05:30:04 +03:00
|
|
|
general:
|
|
|
|
gpu: 0
|
|
|
|
outdir: outputs
|
2022-09-08 15:33:45 +03:00
|
|
|
default_model: "Stable Diffusion v1.4"
|
|
|
|
default_model_config: "configs/stable-diffusion/v1-inference.yaml"
|
|
|
|
default_model_path: "models/ldm/stable-diffusion-v1/model.ckpt"
|
2022-09-18 01:25:55 +03:00
|
|
|
use_sd_concepts_library: True
|
|
|
|
sd_concepts_library_folder: "models/custom/sd-concepts-library"
|
2022-09-07 05:30:04 +03:00
|
|
|
GFPGAN_dir: "./src/gfpgan"
|
|
|
|
RealESRGAN_dir: "./src/realesrgan"
|
|
|
|
RealESRGAN_model: "RealESRGAN_x4plus"
|
2022-09-14 12:45:18 +03:00
|
|
|
LDSR_dir: "./src/latent-diffusion"
|
2022-09-07 05:30:04 +03:00
|
|
|
outdir_txt2img: outputs/txt2img-samples
|
|
|
|
outdir_img2img: outputs/img2img-samples
|
|
|
|
gfpgan_cpu: False
|
|
|
|
esrgan_cpu: False
|
|
|
|
extra_models_cpu: False
|
|
|
|
extra_models_gpu: False
|
|
|
|
save_metadata: True
|
2022-09-11 13:35:14 +03:00
|
|
|
save_format: "png"
|
2022-09-07 05:30:04 +03:00
|
|
|
skip_grid: False
|
|
|
|
skip_save: False
|
|
|
|
grid_format: "jpg:95"
|
|
|
|
n_rows: -1
|
|
|
|
no_verify_input: False
|
|
|
|
no_half: False
|
2022-09-14 21:06:52 +03:00
|
|
|
use_float16: False
|
2022-09-07 05:30:04 +03:00
|
|
|
precision: "autocast"
|
|
|
|
optimized: False
|
|
|
|
optimized_turbo: False
|
2022-09-14 18:22:24 +03:00
|
|
|
optimized_config: "optimizedSD/v1-inference.yaml"
|
2022-09-18 02:49:42 +03:00
|
|
|
enable_attention_slicing: False
|
|
|
|
enable_minimal_memory_usage : False
|
2022-09-07 05:30:04 +03:00
|
|
|
update_preview: True
|
2022-09-09 08:59:23 +03:00
|
|
|
update_preview_frequency: 5
|
2022-09-07 05:30:04 +03:00
|
|
|
|
|
|
|
txt2img:
|
|
|
|
prompt:
|
|
|
|
height: 512
|
|
|
|
width: 512
|
2022-09-08 15:33:45 +03:00
|
|
|
cfg_scale: 7.5
|
2022-09-07 05:30:04 +03:00
|
|
|
seed: ""
|
|
|
|
batch_count: 1
|
|
|
|
batch_size: 1
|
2022-09-10 05:39:33 +03:00
|
|
|
sampling_steps: 30
|
|
|
|
default_sampler: "k_euler"
|
2022-09-07 05:30:04 +03:00
|
|
|
separate_prompts: False
|
2022-09-12 21:44:00 +03:00
|
|
|
update_preview: True
|
|
|
|
update_preview_frequency: 5
|
2022-09-07 05:30:04 +03:00
|
|
|
normalize_prompt_weights: True
|
|
|
|
save_individual_images: True
|
|
|
|
save_grid: True
|
|
|
|
group_by_prompt: True
|
|
|
|
save_as_jpg: False
|
2022-09-09 08:59:23 +03:00
|
|
|
use_GFPGAN: False
|
|
|
|
use_RealESRGAN: False
|
2022-09-07 05:30:04 +03:00
|
|
|
RealESRGAN_model: "RealESRGAN_x4plus"
|
|
|
|
variant_amount: 0.0
|
|
|
|
variant_seed: ""
|
2022-09-09 09:50:33 +03:00
|
|
|
write_info_files: True
|
2022-09-18 14:17:57 +03:00
|
|
|
slider_steps: {
|
|
|
|
sampling: 1
|
|
|
|
}
|
|
|
|
slider_bounds: {
|
|
|
|
sampling: {
|
|
|
|
lower: 1,
|
|
|
|
upper: 150
|
|
|
|
}
|
|
|
|
}
|
2022-09-07 05:30:04 +03:00
|
|
|
|
2022-09-08 15:33:45 +03:00
|
|
|
txt2vid:
|
2022-09-11 20:42:17 +03:00
|
|
|
default_model: "CompVis/stable-diffusion-v1-4"
|
|
|
|
custom_models_list: ["CompVis/stable-diffusion-v1-4", "naclbit/trinart_stable_diffusion_v2", "hakurei/waifu-diffusion", "osanseviero/BigGAN-deep-128"]
|
2022-09-08 15:33:45 +03:00
|
|
|
prompt:
|
|
|
|
height: 512
|
|
|
|
width: 512
|
|
|
|
cfg_scale: 7.5
|
|
|
|
seed: ""
|
|
|
|
batch_count: 1
|
|
|
|
batch_size: 1
|
2022-09-10 05:39:33 +03:00
|
|
|
sampling_steps: 30
|
2022-09-08 15:51:22 +03:00
|
|
|
num_inference_steps: 200
|
2022-09-10 05:39:33 +03:00
|
|
|
default_sampler: "k_euler"
|
2022-09-11 20:42:17 +03:00
|
|
|
scheduler_name: "klms"
|
2022-09-08 15:33:45 +03:00
|
|
|
separate_prompts: False
|
2022-09-12 21:44:00 +03:00
|
|
|
update_preview: True
|
|
|
|
update_preview_frequency: 5
|
|
|
|
dynamic_preview_frequency: True
|
2022-09-08 15:33:45 +03:00
|
|
|
normalize_prompt_weights: True
|
|
|
|
save_individual_images: True
|
2022-09-12 18:11:52 +03:00
|
|
|
save_video: True
|
2022-09-08 15:33:45 +03:00
|
|
|
group_by_prompt: True
|
2022-09-11 20:42:17 +03:00
|
|
|
write_info_files: True
|
|
|
|
do_loop: False
|
2022-09-08 15:33:45 +03:00
|
|
|
save_as_jpg: False
|
|
|
|
use_GFPGAN: False
|
2022-09-09 08:59:23 +03:00
|
|
|
use_RealESRGAN: False
|
2022-09-08 15:33:45 +03:00
|
|
|
RealESRGAN_model: "RealESRGAN_x4plus"
|
|
|
|
variant_amount: 0.0
|
|
|
|
variant_seed: ""
|
2022-09-11 20:42:17 +03:00
|
|
|
beta_start: 0.00085
|
|
|
|
beta_end: 0.012
|
2022-09-12 21:44:00 +03:00
|
|
|
beta_scheduler_type: "linear"
|
2022-09-08 15:33:45 +03:00
|
|
|
max_frames: 1000
|
2022-09-18 14:17:57 +03:00
|
|
|
slider_steps: {
|
|
|
|
sampling: 1
|
|
|
|
}
|
|
|
|
slider_bounds: {
|
|
|
|
sampling: {
|
|
|
|
lower: 1,
|
|
|
|
upper: 150
|
|
|
|
}
|
|
|
|
}
|
2022-09-08 15:33:45 +03:00
|
|
|
|
2022-09-07 05:30:04 +03:00
|
|
|
img2img:
|
2022-09-18 14:17:57 +03:00
|
|
|
prompt:
|
|
|
|
sampling_steps: 30
|
|
|
|
# Adding an int to toggles enables the corresponding feature.
|
|
|
|
# 0: Create prompt matrix (separate multiple prompts using |, and get all combinations of them)
|
|
|
|
# 1: Normalize Prompt Weights (ensure sum of weights add up to 1.0)
|
|
|
|
# 2: Loopback (use images from previous batch when creating next batch)
|
|
|
|
# 3: Random loopback seed
|
|
|
|
# 4: Save individual images
|
|
|
|
# 5: Save grid
|
|
|
|
# 6: Sort samples by prompt
|
|
|
|
# 7: Write sample info files
|
|
|
|
# 8: jpg samples
|
|
|
|
# 9: Fix faces using GFPGAN
|
|
|
|
# 10: Upscale images using Real-ESRGAN
|
|
|
|
sampler_name: "k_euler"
|
|
|
|
denoising_strength: 0.75
|
|
|
|
# 0: Keep masked area
|
|
|
|
# 1: Regenerate only masked area
|
|
|
|
mask_mode: 0
|
|
|
|
mask_restore: False
|
|
|
|
# 0: Just resize
|
|
|
|
# 1: Crop and resize
|
|
|
|
# 2: Resize and fill
|
|
|
|
resize_mode: 0
|
|
|
|
# Leave blank for random seed:
|
|
|
|
seed: ""
|
|
|
|
ddim_eta: 0.0
|
|
|
|
cfg_scale: 7.5
|
|
|
|
batch_count: 1
|
|
|
|
batch_size: 1
|
|
|
|
height: 512
|
|
|
|
width: 512
|
|
|
|
# Textual inversion embeddings file path:
|
|
|
|
fp: ""
|
|
|
|
loopback: True
|
|
|
|
random_seed_loopback: True
|
|
|
|
separate_prompts: False
|
|
|
|
update_preview: True
|
|
|
|
update_preview_frequency: 5
|
|
|
|
normalize_prompt_weights: True
|
|
|
|
save_individual_images: True
|
|
|
|
save_grid: True
|
|
|
|
group_by_prompt: True
|
|
|
|
save_as_jpg: False
|
|
|
|
use_GFPGAN: False
|
|
|
|
use_RealESRGAN: False
|
|
|
|
RealESRGAN_model: "RealESRGAN_x4plus"
|
|
|
|
variant_amount: 0.0
|
|
|
|
variant_seed: ""
|
|
|
|
write_info_files: True
|
|
|
|
slider_steps: {
|
|
|
|
sampling: 1
|
|
|
|
}
|
|
|
|
slider_bounds: {
|
|
|
|
sampling: {
|
|
|
|
lower: 1,
|
|
|
|
upper: 150
|
|
|
|
}
|
|
|
|
}
|
2022-09-07 05:30:04 +03:00
|
|
|
|
|
|
|
gfpgan:
|
2022-09-10 00:03:20 +03:00
|
|
|
strength: 100
|