Rifd Josef Jílek commited on
Commit
cc7abef
·
0 Parent(s):

Duplicate from JosefJilek/loliDiffusionSpace

Browse files

Co-authored-by: Josef Jílek <JosefJilek@users.noreply.huggingface.co>

Files changed (8) hide show
  1. .gitattributes +34 -0
  2. README.md +11 -0
  3. app.py +61 -0
  4. config.json +114 -0
  5. dump/01.png +0 -0
  6. dump/config.json +165 -0
  7. header_patch.py +17 -0
  8. ui-config.json +360 -0
.gitattributes ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Webui
3
+ emoji: 🚧
4
+ colorFrom: yellow
5
+ colorTo: yellow
6
+ sdk: gradio
7
+ sdk_version: 3.9
8
+ app_file: app.py
9
+ pinned: false
10
+ duplicated_from: JosefJilek/loliDiffusionSpace
11
+ ---
app.py ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from subprocess import getoutput
3
+
4
+ gpu_info = getoutput('nvidia-smi')
5
+ if("A10G" in gpu_info):
6
+ os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl")
7
+ elif("T4" in gpu_info):
8
+ os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
9
+
10
+ os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
11
+ os.chdir("/home/user/app/stable-diffusion-webui")
12
+
13
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
14
+ os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
15
+ os.system(f"sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
16
+ os.system(f"sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
17
+ os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
18
+ os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
19
+ os.system(f'''sed -i -e "s/document.getElementsByTagName('gradio-app')\[0\].shadowRoot/!!document.getElementsByTagName('gradio-app')[0].shadowRoot ? document.getElementsByTagName('gradio-app')[0].shadowRoot : document/g" /home/user/app/stable-diffusion-webui/script.js''')
20
+ os.system(f"sed -i -e 's/ show_progress=False,/ show_progress=True,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
21
+ os.system(f"sed -i -e 's/shared.demo.launch/shared.demo.queue().launch/g' /home/user/app/stable-diffusion-webui/webui.py")
22
+ os.system(f"sed -i -e 's/inputs=\[component\],/&\\n queue=False,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
23
+ os.system(f"sed -i -e 's/outputs=\[token_counter\]/outputs=[token_counter], queue=False/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
24
+
25
+ # ----------------------------Please duplicate this space and delete this block if you don't want to see the extra header----------------------------
26
+ os.system(f"wget -q https://huggingface.co/spaces/ai-moroz/webui-cpu/resolve/main/header_patch.py -O /home/user/app/header_patch.py")
27
+ #os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
28
+ # ---------------------------------------------------------------------------------------------------------------------------------------------------
29
+
30
+ #AOM3A3.safetensors
31
+ os.system(f"wget -q https://huggingface.co/JosefJilek/loliDiffusion/resolve/main/loliDiffusionV0.8.3_AOM2-SFW_M12-CLIP_VAE_PURIFIED.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/loliDiffusionV0.8.3_AOM2-SFW_M12-CLIP_VAE_PURIFIED.safetensors")
32
+ os.system(f"wget -q https://huggingface.co/JosefJilek/loliDiffusion/resolve/main/loliDiffusionV0.8.3_CTF2.1_M12-CLIP_VAE_PURIFIED.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/loliDiffusionV0.8.3_CTF2.1_M12-CLIP_VAE_PURIFIED.safetensors")
33
+ os.system(f"wget -q https://huggingface.co/JosefJilek/loliDiffusion/resolve/main/loliDiffusionV0.8.7_PSTL_M6-CLIP_VAE_PURIFIED.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/loliDiffusionV0.8.7_PSTL_M6-CLIP_VAE_PURIFIED.safetensors")
34
+ os.system(f"wget -q https://huggingface.co/JosefJilek/loliDiffusion/resolve/main/loliDiffusionV0.8.3_NightSky-YOZORA_M6-CLIP_VAE_PURIFIED.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/loliDiffusionV0.8.3_NightSky-YOZORA_M6-CLIP_VAE_PURIFIED.safetensors")
35
+
36
+ #Embeddings
37
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/diona-gi.pt -O /home/user/app/stable-diffusion-webui/embeddings/diona-gi.pt")
38
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/xiao-gi.pt -O /home/user/app/stable-diffusion-webui/embeddings/xiao-gi.pt")
39
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/naruko-nrt.pt -O /home/user/app/stable-diffusion-webui/embeddings/naruko-nrt.pt")
40
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/thoma-gi.pt -O /home/user/app/stable-diffusion-webui/embeddings/thoma-gi.pt")
41
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/kaeya-gi.pt -O /home/user/app/stable-diffusion-webui/embeddings/kaeya-gi.pt")
42
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/ciel-tm.pt -O /home/user/app/stable-diffusion-webui/embeddings/ciel-tm.pt")
43
+ os.system(f"wget -q https://huggingface.co/ai-moroz/lazy-ti/resolve/main/dump/grinteeth.pt -O /home/user/app/stable-diffusion-webui/embeddings/grinteeth.pt")
44
+
45
+ if "IS_SHARED_UI" in os.environ:
46
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
47
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
48
+ os.system(f"wget -q {os.getenv('EMBED_LINK')} -O /home/user/app/stable-diffusion-webui/embeddings/{os.getenv('EMBED_NAME')}")
49
+ #os.system(f"wget -q {os.getenv('MODEL_LINK')} -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/{os.getenv('MODEL_NAME')}")
50
+ #os.system(f"wget -q {os.getenv('VAE_LINK')} -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/{os.getenv('VAE_NAME')}")
51
+
52
+ os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding")
53
+ else:
54
+ # Please duplicate this space and delete # character in front of the custom script you want to use or add here more custom scripts with same structure os.system(f"wget -q https://CUSTOM_SCRIPT_URL -O /home/user/app/stable-diffusion-webui/scripts/CUSTOM_SCRIPT_NAME.py")
55
+ os.system(f"wget -q https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py -O /home/user/app/stable-diffusion-webui/scripts/run_n_times.py")
56
+ # Please duplicate this space and delete # character in front of the extension you want to use or add here more extensions with same structure os.system(f"git clone https://EXTENSION_GIT_URL /home/user/app/stable-diffusion-webui/extensions/EXTENSION_NAME")
57
+ # Please duplicate this space and delete # character in front of the model you want to use or add here more ckpts with same structure os.system(f"wget -q https://CKPT_URL -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/CKPT_NAME.ckpt")
58
+ os.system(f"wget -q {os.getenv('EMBED_LINK')} -O /home/user/app/stable-diffusion-webui/embeddings/{os.getenv('EMBED_NAME')}")
59
+ #os.system(f"wget -q {os.getenv('MODEL_LINK')} -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/{os.getenv('MODEL_NAME')}")
60
+ #os.system(f"wget -q {os.getenv('VAE_LINK')} -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/{os.getenv('VAE_NAME')}")
61
+ os.system(f"python launch.py --precision full --no-half --use-cpu SD GFPGAN BSRGAN ESRGAN SCUNet CodeFormer --all --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --skip-torch-cuda-test")
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "samples_save": false,
3
+ "samples_format": "png",
4
+ "samples_filename_pattern": "",
5
+ "save_images_add_number": true,
6
+ "grid_save": false,
7
+ "grid_format": "png",
8
+ "grid_extended_filename": false,
9
+ "grid_only_if_multiple": true,
10
+ "grid_prevent_empty_spots": false,
11
+ "n_rows": -1,
12
+ "enable_pnginfo": true,
13
+ "save_txt": false,
14
+ "save_images_before_face_restoration": false,
15
+ "save_images_before_highres_fix": false,
16
+ "save_images_before_color_correction": false,
17
+ "jpeg_quality": 80,
18
+ "export_for_4chan": false,
19
+ "use_original_name_batch": false,
20
+ "save_selected_only": true,
21
+ "do_not_add_watermark": false,
22
+ "temp_dir": "",
23
+ "clean_temp_dir_at_start": false,
24
+ "outdir_samples": "",
25
+ "outdir_txt2img_samples": "outputs/txt2img-images",
26
+ "outdir_img2img_samples": "outputs/img2img-images",
27
+ "outdir_extras_samples": "outputs/extras-images",
28
+ "outdir_grids": "",
29
+ "outdir_txt2img_grids": "outputs/txt2img-grids",
30
+ "outdir_img2img_grids": "outputs/img2img-grids",
31
+ "outdir_save": "log/images",
32
+ "save_to_dirs": false,
33
+ "grid_save_to_dirs": false,
34
+ "use_save_to_dirs_for_ui": false,
35
+ "directories_filename_pattern": "",
36
+ "directories_max_prompt_words": 8,
37
+ "ESRGAN_tile": 192,
38
+ "ESRGAN_tile_overlap": 8,
39
+ "realesrgan_enabled_models": [
40
+ "R-ESRGAN 4x+",
41
+ "R-ESRGAN 4x+ Anime6B"
42
+ ],
43
+ "upscaler_for_img2img": null,
44
+ "use_scale_latent_for_hires_fix": false,
45
+ "face_restoration_model": null,
46
+ "code_former_weight": 0.5,
47
+ "face_restoration_unload": false,
48
+ "memmon_poll_rate": 8,
49
+ "samples_log_stdout": false,
50
+ "multiple_tqdm": true,
51
+ "unload_models_when_training": false,
52
+ "pin_memory": false,
53
+ "save_optimizer_state": false,
54
+ "dataset_filename_word_regex": "",
55
+ "dataset_filename_join_string": " ",
56
+ "training_image_repeats_per_epoch": 1,
57
+ "training_write_csv_every": 500,
58
+ "training_xattention_optimizations": false,
59
+ "sd_model_checkpoint": null,
60
+ "sd_checkpoint_cache": 0,
61
+ "sd_vae": "auto",
62
+ "sd_vae_as_default": false,
63
+ "sd_hypernetwork": "None",
64
+ "sd_hypernetwork_strength": 1.0,
65
+ "inpainting_mask_weight": 1.0,
66
+ "img2img_color_correction": false,
67
+ "img2img_fix_steps": false,
68
+ "enable_quantization": false,
69
+ "enable_emphasis": true,
70
+ "use_old_emphasis_implementation": false,
71
+ "enable_batch_seeds": true,
72
+ "comma_padding_backtrack": 20,
73
+ "filter_nsfw": false,
74
+ "CLIP_stop_at_last_layers": 1,
75
+ "random_artist_categories": [],
76
+ "interrogate_keep_models_in_memory": false,
77
+ "interrogate_use_builtin_artists": true,
78
+ "interrogate_return_ranks": false,
79
+ "interrogate_clip_num_beams": 1,
80
+ "interrogate_clip_min_length": 24,
81
+ "interrogate_clip_max_length": 48,
82
+ "interrogate_clip_dict_limit": 1500,
83
+ "interrogate_deepbooru_score_threshold": 0.5,
84
+ "deepbooru_sort_alpha": true,
85
+ "deepbooru_use_spaces": false,
86
+ "deepbooru_escape": true,
87
+ "show_progressbar": true,
88
+ "show_progress_every_n_steps": 0,
89
+ "show_progress_grid": true,
90
+ "return_grid": true,
91
+ "do_not_show_images": false,
92
+ "add_model_hash_to_info": true,
93
+ "add_model_name_to_info": false,
94
+ "disable_weights_auto_swap": false,
95
+ "send_seed": true,
96
+ "font": "",
97
+ "js_modal_lightbox": true,
98
+ "js_modal_lightbox_initially_zoomed": true,
99
+ "show_progress_in_title": true,
100
+ "quicksettings": "sd_model_checkpoint",
101
+ "localization": "None",
102
+ "hide_samplers": [],
103
+ "eta_ddim": 0.0,
104
+ "eta_ancestral": 1.0,
105
+ "ddim_discretize": "uniform",
106
+ "s_churn": 0.0,
107
+ "s_tmin": 0.0,
108
+ "s_noise": 1.0,
109
+ "eta_noise_seed_delta": 0,
110
+ "disabled_extensions": [],
111
+ "ldsr_steps": 100,
112
+ "SWIN_tile": 192,
113
+ "SWIN_tile_overlap": 8
114
+ }
dump/01.png ADDED
dump/config.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "samples_save": true,
3
+ "samples_format": "png",
4
+ "samples_filename_pattern": "",
5
+ "save_images_add_number": true,
6
+ "grid_save": true,
7
+ "grid_format": "png",
8
+ "grid_extended_filename": false,
9
+ "grid_only_if_multiple": true,
10
+ "grid_prevent_empty_spots": true,
11
+ "n_rows": -1,
12
+ "enable_pnginfo": true,
13
+ "save_txt": false,
14
+ "save_images_before_face_restoration": false,
15
+ "save_images_before_highres_fix": false,
16
+ "save_images_before_color_correction": false,
17
+ "jpeg_quality": 100,
18
+ "export_for_4chan": false,
19
+ "img_downscale_threshold": 4.0,
20
+ "target_side_length": 4000,
21
+ "use_original_name_batch": true,
22
+ "use_upscaler_name_as_suffix": false,
23
+ "save_selected_only": true,
24
+ "do_not_add_watermark": false,
25
+ "temp_dir": "",
26
+ "clean_temp_dir_at_start": false,
27
+ "outdir_samples": "/content/drive/MyDrive/SD-output",
28
+ "outdir_txt2img_samples": "outputs/txt2img-images",
29
+ "outdir_img2img_samples": "/content/drive/MyDrive/SD-output",
30
+ "outdir_extras_samples": "outputs/extras-images",
31
+ "outdir_grids": "/content/drive/MyDrive/SD-output",
32
+ "outdir_txt2img_grids": "outputs/txt2img-grids",
33
+ "outdir_img2img_grids": "outputs/img2img-grids",
34
+ "outdir_save": "log/images",
35
+ "save_to_dirs": true,
36
+ "grid_save_to_dirs": true,
37
+ "use_save_to_dirs_for_ui": false,
38
+ "directories_filename_pattern": "[date]",
39
+ "directories_max_prompt_words": 2,
40
+ "ESRGAN_tile": 192,
41
+ "ESRGAN_tile_overlap": 8,
42
+ "realesrgan_enabled_models": [
43
+ "R-ESRGAN 4x+",
44
+ "R-ESRGAN 4x+ Anime6B"
45
+ ],
46
+ "upscaler_for_img2img": null,
47
+ "face_restoration_model": "CodeFormer",
48
+ "code_former_weight": 0.5,
49
+ "face_restoration_unload": false,
50
+ "show_warnings": false,
51
+ "memmon_poll_rate": 8,
52
+ "samples_log_stdout": false,
53
+ "multiple_tqdm": true,
54
+ "print_hypernet_extra": false,
55
+ "unload_models_when_training": false,
56
+ "pin_memory": false,
57
+ "save_optimizer_state": false,
58
+ "save_training_settings_to_txt": true,
59
+ "dataset_filename_word_regex": "",
60
+ "dataset_filename_join_string": " ",
61
+ "training_image_repeats_per_epoch": 1,
62
+ "training_write_csv_every": 500,
63
+ "training_xattention_optimizations": false,
64
+ "training_enable_tensorboard": false,
65
+ "training_tensorboard_save_images": false,
66
+ "training_tensorboard_flush_every": 120,
67
+ "sd_model_checkpoint": "",
68
+ "sd_checkpoint_cache": 0,
69
+ "sd_vae_checkpoint_cache": 0,
70
+ "sd_vae": "Automatic",
71
+ "sd_vae_as_default": true,
72
+ "inpainting_mask_weight": 1.0,
73
+ "initial_noise_multiplier": 1.0,
74
+ "img2img_color_correction": false,
75
+ "img2img_fix_steps": false,
76
+ "img2img_background_color": "#ffffff",
77
+ "enable_quantization": false,
78
+ "enable_emphasis": true,
79
+ "enable_batch_seeds": true,
80
+ "comma_padding_backtrack": 20,
81
+ "CLIP_stop_at_last_layers": 2,
82
+ "upcast_attn": false,
83
+ "use_old_emphasis_implementation": false,
84
+ "use_old_karras_scheduler_sigmas": false,
85
+ "no_dpmpp_sde_batch_determinism": false,
86
+ "use_old_hires_fix_width_height": false,
87
+ "interrogate_keep_models_in_memory": false,
88
+ "interrogate_return_ranks": false,
89
+ "interrogate_clip_num_beams": 1,
90
+ "interrogate_clip_min_length": 24,
91
+ "interrogate_clip_max_length": 48,
92
+ "interrogate_clip_dict_limit": 1500,
93
+ "interrogate_clip_skip_categories": [],
94
+ "interrogate_deepbooru_score_threshold": 0.5,
95
+ "deepbooru_sort_alpha": true,
96
+ "deepbooru_use_spaces": false,
97
+ "deepbooru_escape": true,
98
+ "deepbooru_filter_tags": "",
99
+ "extra_networks_default_view": "cards",
100
+ "extra_networks_default_multiplier": 1.0,
101
+ "sd_hypernetwork": "None",
102
+ "return_grid": true,
103
+ "do_not_show_images": false,
104
+ "add_model_hash_to_info": true,
105
+ "add_model_name_to_info": true,
106
+ "disable_weights_auto_swap": true,
107
+ "send_seed": true,
108
+ "send_size": true,
109
+ "font": "",
110
+ "js_modal_lightbox": true,
111
+ "js_modal_lightbox_initially_zoomed": true,
112
+ "show_progress_in_title": true,
113
+ "samplers_in_dropdown": true,
114
+ "dimensions_and_batch_together": true,
115
+ "keyedit_precision_attention": 0.1,
116
+ "keyedit_precision_extra": 0.05,
117
+ "quicksettings": "sd_model_checkpoint",
118
+ "ui_reorder": "inpaint, sampler, checkboxes, hires_fix, dimensions, cfg, seed, batch, override_settings, scripts",
119
+ "ui_extra_networks_tab_reorder": "",
120
+ "localization": "None",
121
+ "show_progressbar": true,
122
+ "live_previews_enable": false,
123
+ "show_progress_grid": true,
124
+ "show_progress_every_n_steps": 10,
125
+ "show_progress_type": "Approx NN",
126
+ "live_preview_content": "Prompt",
127
+ "live_preview_refresh_period": 1000,
128
+ "hide_samplers": [],
129
+ "eta_ddim": 0.0,
130
+ "eta_ancestral": 1.0,
131
+ "ddim_discretize": "uniform",
132
+ "s_churn": 0.0,
133
+ "s_tmin": 0.0,
134
+ "s_noise": 1.0,
135
+ "eta_noise_seed_delta": 0,
136
+ "always_discard_next_to_last_sigma": false,
137
+ "postprocessing_enable_in_main_ui": [],
138
+ "postprocessing_operation_order": [],
139
+ "upscaling_max_images_in_cache": 5,
140
+ "disabled_extensions": [],
141
+ "sd_checkpoint_hash": "",
142
+ "ldsr_steps": 100,
143
+ "ldsr_cached": false,
144
+ "SWIN_tile": 192,
145
+ "SWIN_tile_overlap": 8,
146
+ "sd_lora": "None",
147
+ "lora_apply_to_outputs": false,
148
+ "additional_networks_extra_lora_path": "",
149
+ "additional_networks_sort_models_by": "name",
150
+ "additional_networks_reverse_sort_order": false,
151
+ "additional_networks_model_name_filter": "",
152
+ "additional_networks_xy_grid_model_metadata": "",
153
+ "additional_networks_hash_thread_count": 1.0,
154
+ "additional_networks_back_up_model_when_saving": true,
155
+ "additional_networks_show_only_safetensors": false,
156
+ "additional_networks_show_only_models_with_metadata": "disabled",
157
+ "additional_networks_max_top_tags": 20.0,
158
+ "additional_networks_max_dataset_folders": 20.0,
159
+ "images_history_preload": false,
160
+ "images_record_paths": true,
161
+ "images_delete_message": true,
162
+ "images_history_page_columns": 6.0,
163
+ "images_history_page_rows": 6.0,
164
+ "images_history_pages_perload": 20.0
165
+ }
header_patch.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ with gr.Box(visible=is_spaces):
2
+ if(is_spaces and is_shared_ui):
3
+ gr.HTML(f'''
4
+ <div class="gr-prose" style="max-width: 80%">
5
+ <p>🚨 using CPU</p>
6
+ <p>🚧 (WIP) Automatic1111 Stable Diffusion Web UI on 🤗 Hugging Face Spaces | Running model: WarriorMama777/AOM3A3.safetensors</p>
7
+ <p>You can duplicate this Space to run it privately without a queue and load additional checkpoints.</p>
8
+ </div>
9
+ ''')
10
+ elif(is_spaces):
11
+ gr.HTML(f'''
12
+ <div class="gr-prose" style="max-width: 80%">
13
+ <p>🚧 (WIP) Private Automatic1111 Stable Diffusion Web UI on 🤗 Hugging Face Spaces</p>
14
+ <p>This Space is currently running on CPU</p>
15
+ </div>
16
+ ''')
17
+
ui-config.json ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "txt2img/Prompt/visible": true,
3
+ "txt2img/Prompt/value": "sfw, loli cat girl, blue eyes, flat chest, solo, long messy silver hair, blue capelet, cat ears, cat tail,",
4
+ "txt2img/Negative prompt/visible": true,
5
+ "txt2img/Negative prompt/value": "(nsfw:1.4), EasyNegative, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, multiple panels, aged up, old,",
6
+ "txt2img/Style 1/value": "None",
7
+ "txt2img/Style 1/visible": true,
8
+ "txt2img/Style 2/value": "None",
9
+ "txt2img/Style 2/visible": true,
10
+ "txt2img/Sampling Steps/visible": true,
11
+ "txt2img/Sampling Steps/value": 20,
12
+ "txt2img/Sampling Steps/minimum": 1,
13
+ "txt2img/Sampling Steps/maximum": 30,
14
+ "txt2img/Sampling Steps/step": 1,
15
+ "txt2img/Sampling method/visible": true,
16
+ "txt2img/Sampling method/value": "Euler",
17
+ "txt2img/Width/visible": true,
18
+ "txt2img/Width/value": 384,
19
+ "txt2img/Width/minimum": 64,
20
+ "txt2img/Width/maximum": 512,
21
+ "txt2img/Width/step": 64,
22
+ "txt2img/Height/visible": true,
23
+ "txt2img/Height/value": 384,
24
+ "txt2img/Height/minimum": 64,
25
+ "txt2img/Height/maximum": 512,
26
+ "txt2img/Height/step": 64,
27
+ "txt2img/Restore faces/visible": false,
28
+ "txt2img/Restore faces/value": false,
29
+ "txt2img/Tiling/visible": false,
30
+ "txt2img/Tiling/value": false,
31
+ "txt2img/Highres. fix/visible": false,
32
+ "txt2img/Highres. fix/value": false,
33
+ "txt2img/Firstpass width/visible": false,
34
+ "txt2img/Firstpass width/value": 0,
35
+ "txt2img/Firstpass width/minimum": 0,
36
+ "txt2img/Firstpass width/maximum": 768,
37
+ "txt2img/Firstpass width/step": 64,
38
+ "txt2img/Firstpass height/visible": false,
39
+ "txt2img/Firstpass height/value": 0,
40
+ "txt2img/Firstpass height/minimum": 0,
41
+ "txt2img/Firstpass height/maximum": 768,
42
+ "txt2img/Firstpass height/step": 64,
43
+ "txt2img/Denoising strength/visible": false,
44
+ "txt2img/Denoising strength/value": 0.7,
45
+ "txt2img/Denoising strength/minimum": 0.0,
46
+ "txt2img/Denoising strength/maximum": 1.0,
47
+ "txt2img/Denoising strength/step": 0.01,
48
+ "txt2img/Batch count/visible": false,
49
+ "txt2img/Batch count/value": 1,
50
+ "txt2img/Batch count/minimum": 1,
51
+ "txt2img/Batch count/maximum": 1,
52
+ "txt2img/Batch count/step": 1,
53
+ "txt2img/Batch size/visible": false,
54
+ "txt2img/Batch size/value": 1,
55
+ "txt2img/Batch size/minimum": 1,
56
+ "txt2img/Batch size/maximum": 1,
57
+ "txt2img/Batch size/step": 1,
58
+ "txt2img/CFG Scale/visible": true,
59
+ "txt2img/CFG Scale/value": 7.0,
60
+ "txt2img/CFG Scale/minimum": 1.0,
61
+ "txt2img/CFG Scale/maximum": 30.0,
62
+ "txt2img/CFG Scale/step": 0.5,
63
+ "txt2img/Seed/visible": true,
64
+ "txt2img/Seed/value": -1.0,
65
+ "txt2img/Extra/visible": true,
66
+ "txt2img/Extra/value": false,
67
+ "txt2img/Variation seed/visible": true,
68
+ "txt2img/Variation seed/value": -1.0,
69
+ "txt2img/Variation strength/visible": true,
70
+ "txt2img/Variation strength/value": 0.0,
71
+ "txt2img/Variation strength/minimum": 0,
72
+ "txt2img/Variation strength/maximum": 1,
73
+ "txt2img/Variation strength/step": 0.01,
74
+ "txt2img/Resize seed from width/visible": true,
75
+ "txt2img/Resize seed from width/value": 0,
76
+ "txt2img/Resize seed from width/minimum": 0,
77
+ "txt2img/Resize seed from width/maximum": 768,
78
+ "txt2img/Resize seed from width/step": 64,
79
+ "txt2img/Resize seed from height/visible": true,
80
+ "txt2img/Resize seed from height/value": 0,
81
+ "txt2img/Resize seed from height/minimum": 0,
82
+ "txt2img/Resize seed from height/maximum": 768,
83
+ "txt2img/Resize seed from height/step": 64,
84
+ "txt2img/Script/value": "None",
85
+ "txt2img/Script/visible": false,
86
+ "customscript/prompt_matrix.py/txt2img/Put variable parts at start of prompt/visible": true,
87
+ "customscript/prompt_matrix.py/txt2img/Put variable parts at start of prompt/value": false,
88
+ "customscript/prompts_from_file.py/txt2img/Iterate seed every line/visible": true,
89
+ "customscript/prompts_from_file.py/txt2img/Iterate seed every line/value": false,
90
+ "customscript/prompts_from_file.py/txt2img/Use same random seed for all lines/visible": true,
91
+ "customscript/prompts_from_file.py/txt2img/Use same random seed for all lines/value": false,
92
+ "customscript/prompts_from_file.py/txt2img/List of prompt inputs/visible": true,
93
+ "customscript/prompts_from_file.py/txt2img/List of prompt inputs/value": "",
94
+ "customscript/xy_grid.py/txt2img/X values/visible": true,
95
+ "customscript/xy_grid.py/txt2img/X values/value": "",
96
+ "customscript/xy_grid.py/txt2img/Y values/visible": true,
97
+ "customscript/xy_grid.py/txt2img/Y values/value": "",
98
+ "customscript/xy_grid.py/txt2img/Draw legend/visible": true,
99
+ "customscript/xy_grid.py/txt2img/Draw legend/value": true,
100
+ "customscript/xy_grid.py/txt2img/Include Separate Images/visible": true,
101
+ "customscript/xy_grid.py/txt2img/Include Separate Images/value": false,
102
+ "customscript/xy_grid.py/txt2img/Keep -1 for seeds/visible": true,
103
+ "customscript/xy_grid.py/txt2img/Keep -1 for seeds/value": false,
104
+ "txt2img/Make Zip when Save?/visible": true,
105
+ "txt2img/Make Zip when Save?/value": false,
106
+ "img2img/Prompt/visible": true,
107
+ "img2img/Prompt/value": "",
108
+ "img2img/Negative prompt/visible": true,
109
+ "img2img/Negative prompt/value": "(worst quality, low quality:1.4),text",
110
+ "img2img/Style 1/value": "None",
111
+ "img2img/Style 1/visible": true,
112
+ "img2img/Style 2/value": "None",
113
+ "img2img/Style 2/visible": true,
114
+ "img2img/Mask blur/visible": true,
115
+ "img2img/Mask blur/value": 4,
116
+ "img2img/Mask blur/minimum": 0,
117
+ "img2img/Mask blur/maximum": 64,
118
+ "img2img/Mask blur/step": 1,
119
+ "img2img/Mask transparency/value": 0,
120
+ "img2img/Mask transparency/minimum": 0,
121
+ "img2img/Mask transparency/maximum": 100,
122
+ "img2img/Mask transparency/step": 1,
123
+ "img2img/Mask mode/visible": true,
124
+ "img2img/Mask mode/value": "Draw mask",
125
+ "img2img/Masking mode/visible": true,
126
+ "img2img/Masking mode/value": "Inpaint masked",
127
+ "img2img/Masked content/visible": true,
128
+ "img2img/Masked content/value": "original",
129
+ "img2img/Inpaint at full resolution/visible": true,
130
+ "img2img/Inpaint at full resolution/value": false,
131
+ "img2img/Inpaint at full resolution padding, pixels/visible": true,
132
+ "img2img/Inpaint at full resolution padding, pixels/value": 32,
133
+ "img2img/Inpaint at full resolution padding, pixels/minimum": 0,
134
+ "img2img/Inpaint at full resolution padding, pixels/maximum": 256,
135
+ "img2img/Inpaint at full resolution padding, pixels/step": 4,
136
+ "img2img/Input directory/visible": true,
137
+ "img2img/Input directory/value": "",
138
+ "img2img/Output directory/visible": true,
139
+ "img2img/Output directory/value": "",
140
+ "img2img/Resize mode/visible": true,
141
+ "img2img/Resize mode/value": "Just resize",
142
+ "img2img/Sampling Steps/visible": true,
143
+ "img2img/Sampling Steps/value": 20,
144
+ "img2img/Sampling Steps/minimum": 1,
145
+ "img2img/Sampling Steps/maximum": 50,
146
+ "img2img/Sampling Steps/step": 1,
147
+ "img2img/Sampling method/visible": true,
148
+ "img2img/Sampling method/value": "Euler a",
149
+ "img2img/Width/visible": true,
150
+ "img2img/Width/value": 512,
151
+ "img2img/Width/minimum": 64,
152
+ "img2img/Width/maximum": 768,
153
+ "img2img/Width/step": 64,
154
+ "img2img/Height/visible": true,
155
+ "img2img/Height/value": 512,
156
+ "img2img/Height/minimum": 64,
157
+ "img2img/Height/maximum": 768,
158
+ "img2img/Height/step": 64,
159
+ "img2img/Restore faces/visible": false,
160
+ "img2img/Restore faces/value": false,
161
+ "img2img/Tiling/visible": false,
162
+ "img2img/Tiling/value": false,
163
+ "img2img/Batch count/visible": false,
164
+ "img2img/Batch count/value": 1,
165
+ "img2img/Batch count/minimum": 1,
166
+ "img2img/Batch count/maximum": 1,
167
+ "img2img/Batch count/step": 1,
168
+ "img2img/Batch size/visible": false,
169
+ "img2img/Batch size/value": 1,
170
+ "img2img/Batch size/minimum": 1,
171
+ "img2img/Batch size/maximum": 1,
172
+ "img2img/Batch size/step": 1,
173
+ "img2img/CFG Scale/visible": true,
174
+ "img2img/CFG Scale/value": 7.0,
175
+ "img2img/CFG Scale/minimum": 1.0,
176
+ "img2img/CFG Scale/maximum": 30.0,
177
+ "img2img/CFG Scale/step": 0.5,
178
+ "img2img/Denoising strength/visible": true,
179
+ "img2img/Denoising strength/value": 0.75,
180
+ "img2img/Denoising strength/minimum": 0.0,
181
+ "img2img/Denoising strength/maximum": 1.0,
182
+ "img2img/Denoising strength/step": 0.01,
183
+ "img2img/Seed/visible": true,
184
+ "img2img/Seed/value": -1.0,
185
+ "img2img/Extra/visible": true,
186
+ "img2img/Extra/value": false,
187
+ "img2img/Variation seed/visible": true,
188
+ "img2img/Variation seed/value": -1.0,
189
+ "img2img/Variation strength/visible": true,
190
+ "img2img/Variation strength/value": 0.0,
191
+ "img2img/Variation strength/minimum": 0,
192
+ "img2img/Variation strength/maximum": 1,
193
+ "img2img/Variation strength/step": 0.01,
194
+ "img2img/Resize seed from width/visible": true,
195
+ "img2img/Resize seed from width/value": 0,
196
+ "img2img/Resize seed from width/minimum": 0,
197
+ "img2img/Resize seed from width/maximum": 768,
198
+ "img2img/Resize seed from width/step": 64,
199
+ "img2img/Resize seed from height/visible": true,
200
+ "img2img/Resize seed from height/value": 0,
201
+ "img2img/Resize seed from height/minimum": 0,
202
+ "img2img/Resize seed from height/maximum": 768,
203
+ "img2img/Resize seed from height/step": 64,
204
+ "img2img/Script/value": "None",
205
+ "img2img/Script/visible": false,
206
+ "customscript/img2imgalt.py/img2img/Override `Sampling method` to Euler?(this method is built for it)/visible": true,
207
+ "customscript/img2imgalt.py/img2img/Override `Sampling method` to Euler?(this method is built for it)/value": true,
208
+ "customscript/img2imgalt.py/img2img/Override `prompt` to the same value as `original prompt`?(and `negative prompt`)/visible": true,
209
+ "customscript/img2imgalt.py/img2img/Override `prompt` to the same value as `original prompt`?(and `negative prompt`)/value": true,
210
+ "customscript/img2imgalt.py/img2img/Original prompt/visible": true,
211
+ "customscript/img2imgalt.py/img2img/Original prompt/value": "",
212
+ "customscript/img2imgalt.py/img2img/Original negative prompt/visible": true,
213
+ "customscript/img2imgalt.py/img2img/Original negative prompt/value": "",
214
+ "customscript/img2imgalt.py/img2img/Override `Sampling Steps` to the same value as `Decode steps`?/visible": true,
215
+ "customscript/img2imgalt.py/img2img/Override `Sampling Steps` to the same value as `Decode steps`?/value": true,
216
+ "customscript/img2imgalt.py/img2img/Decode steps/visible": true,
217
+ "customscript/img2imgalt.py/img2img/Decode steps/value": 50,
218
+ "customscript/img2imgalt.py/img2img/Decode steps/minimum": 1,
219
+ "customscript/img2imgalt.py/img2img/Decode steps/maximum": 50,
220
+ "customscript/img2imgalt.py/img2img/Decode steps/step": 1,
221
+ "customscript/img2imgalt.py/img2img/Override `Denoising strength` to 1?/visible": true,
222
+ "customscript/img2imgalt.py/img2img/Override `Denoising strength` to 1?/value": true,
223
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/visible": true,
224
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/value": 1.0,
225
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/minimum": 0.0,
226
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/maximum": 15.0,
227
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/step": 0.1,
228
+ "customscript/img2imgalt.py/img2img/Randomness/visible": true,
229
+ "customscript/img2imgalt.py/img2img/Randomness/value": 0.0,
230
+ "customscript/img2imgalt.py/img2img/Randomness/minimum": 0.0,
231
+ "customscript/img2imgalt.py/img2img/Randomness/maximum": 1.0,
232
+ "customscript/img2imgalt.py/img2img/Randomness/step": 0.01,
233
+ "customscript/img2imgalt.py/img2img/Sigma adjustment for finding noise for image/visible": true,
234
+ "customscript/img2imgalt.py/img2img/Sigma adjustment for finding noise for image/value": false,
235
+ "customscript/loopback.py/img2img/Loops/visible": true,
236
+ "customscript/loopback.py/img2img/Loops/value": 4,
237
+ "customscript/loopback.py/img2img/Loops/minimum": 1,
238
+ "customscript/loopback.py/img2img/Loops/maximum": 32,
239
+ "customscript/loopback.py/img2img/Loops/step": 1,
240
+ "customscript/loopback.py/img2img/Denoising strength change factor/visible": true,
241
+ "customscript/loopback.py/img2img/Denoising strength change factor/value": 1,
242
+ "customscript/loopback.py/img2img/Denoising strength change factor/minimum": 0.9,
243
+ "customscript/loopback.py/img2img/Denoising strength change factor/maximum": 1.1,
244
+ "customscript/loopback.py/img2img/Denoising strength change factor/step": 0.01,
245
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/visible": true,
246
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/value": 128,
247
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/minimum": 8,
248
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/maximum": 256,
249
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/step": 8,
250
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/visible": true,
251
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/value": 8,
252
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/minimum": 0,
253
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/maximum": 64,
254
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/step": 1,
255
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/visible": true,
256
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/value": 1.0,
257
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/minimum": 0.0,
258
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/maximum": 4.0,
259
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/step": 0.01,
260
+ "customscript/outpainting_mk_2.py/img2img/Color variation/visible": true,
261
+ "customscript/outpainting_mk_2.py/img2img/Color variation/value": 0.05,
262
+ "customscript/outpainting_mk_2.py/img2img/Color variation/minimum": 0.0,
263
+ "customscript/outpainting_mk_2.py/img2img/Color variation/maximum": 1.0,
264
+ "customscript/outpainting_mk_2.py/img2img/Color variation/step": 0.01,
265
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/visible": true,
266
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/value": 128,
267
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/minimum": 8,
268
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/maximum": 256,
269
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/step": 8,
270
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/visible": true,
271
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/value": 4,
272
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/minimum": 0,
273
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/maximum": 64,
274
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/step": 1,
275
+ "customscript/poor_mans_outpainting.py/img2img/Masked content/visible": true,
276
+ "customscript/poor_mans_outpainting.py/img2img/Masked content/value": "fill",
277
+ "customscript/prompt_matrix.py/img2img/Put variable parts at start of prompt/visible": true,
278
+ "customscript/prompt_matrix.py/img2img/Put variable parts at start of prompt/value": false,
279
+ "customscript/prompts_from_file.py/img2img/Iterate seed every line/visible": true,
280
+ "customscript/prompts_from_file.py/img2img/Iterate seed every line/value": false,
281
+ "customscript/prompts_from_file.py/img2img/Use same random seed for all lines/visible": true,
282
+ "customscript/prompts_from_file.py/img2img/Use same random seed for all lines/value": false,
283
+ "customscript/prompts_from_file.py/img2img/List of prompt inputs/visible": true,
284
+ "customscript/prompts_from_file.py/img2img/List of prompt inputs/value": "",
285
+ "customscript/sd_upscale.py/img2img/Tile overlap/visible": true,
286
+ "customscript/sd_upscale.py/img2img/Tile overlap/value": 64,
287
+ "customscript/sd_upscale.py/img2img/Tile overlap/minimum": 0,
288
+ "customscript/sd_upscale.py/img2img/Tile overlap/maximum": 256,
289
+ "customscript/sd_upscale.py/img2img/Tile overlap/step": 16,
290
+ "customscript/sd_upscale.py/img2img/Upscaler/visible": true,
291
+ "customscript/sd_upscale.py/img2img/Upscaler/value": "None",
292
+ "customscript/xy_grid.py/img2img/X values/visible": true,
293
+ "customscript/xy_grid.py/img2img/X values/value": "",
294
+ "customscript/xy_grid.py/img2img/Y values/visible": true,
295
+ "customscript/xy_grid.py/img2img/Y values/value": "",
296
+ "customscript/xy_grid.py/img2img/Draw legend/visible": true,
297
+ "customscript/xy_grid.py/img2img/Draw legend/value": true,
298
+ "customscript/xy_grid.py/img2img/Include Separate Images/visible": true,
299
+ "customscript/xy_grid.py/img2img/Include Separate Images/value": false,
300
+ "customscript/xy_grid.py/img2img/Keep -1 for seeds/visible": true,
301
+ "customscript/xy_grid.py/img2img/Keep -1 for seeds/value": false,
302
+ "img2img/Make Zip when Save?/visible": true,
303
+ "img2img/Make Zip when Save?/value": false,
304
+ "extras/Input directory/visible": true,
305
+ "extras/Input directory/value": "",
306
+ "extras/Output directory/visible": true,
307
+ "extras/Output directory/value": "",
308
+ "extras/Show result images/visible": true,
309
+ "extras/Show result images/value": true,
310
+ "extras/Resize/visible": true,
311
+ "extras/Resize/value": 4,
312
+ "extras/Resize/minimum": 1.0,
313
+ "extras/Resize/maximum": 8.0,
314
+ "extras/Resize/step": 0.05,
315
+ "extras/Width/visible": true,
316
+ "extras/Width/value": 512,
317
+ "extras/Height/visible": true,
318
+ "extras/Height/value": 512,
319
+ "extras/Crop to fit/visible": true,
320
+ "extras/Crop to fit/value": true,
321
+ "extras/Upscaler 1/visible": true,
322
+ "extras/Upscaler 1/value": "None",
323
+ "extras/Upscaler 2/visible": true,
324
+ "extras/Upscaler 2/value": "None",
325
+ "extras/Upscaler 2 visibility/visible": true,
326
+ "extras/Upscaler 2 visibility/value": 1,
327
+ "extras/Upscaler 2 visibility/minimum": 0.0,
328
+ "extras/Upscaler 2 visibility/maximum": 1.0,
329
+ "extras/Upscaler 2 visibility/step": 0.001,
330
+ "extras/GFPGAN visibility/visible": true,
331
+ "extras/GFPGAN visibility/value": 0,
332
+ "extras/GFPGAN visibility/minimum": 0.0,
333
+ "extras/GFPGAN visibility/maximum": 1.0,
334
+ "extras/GFPGAN visibility/step": 0.001,
335
+ "extras/CodeFormer visibility/visible": true,
336
+ "extras/CodeFormer visibility/value": 0,
337
+ "extras/CodeFormer visibility/minimum": 0.0,
338
+ "extras/CodeFormer visibility/maximum": 1.0,
339
+ "extras/CodeFormer visibility/step": 0.001,
340
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/visible": true,
341
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/value": 0,
342
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/minimum": 0.0,
343
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/maximum": 1.0,
344
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/step": 0.001,
345
+ "extras/Upscale Before Restoring Faces/visible": true,
346
+ "extras/Upscale Before Restoring Faces/value": false,
347
+ "modelmerger/Custom Name (Optional)/visible": true,
348
+ "modelmerger/Custom Name (Optional)/value": "",
349
+ "modelmerger/Multiplier (M) - set to 0 to get model A/visible": true,
350
+ "modelmerger/Multiplier (M) - set to 0 to get model A/value": 0.3,
351
+ "modelmerger/Multiplier (M) - set to 0 to get model A/minimum": 0.0,
352
+ "modelmerger/Multiplier (M) - set to 0 to get model A/maximum": 1.0,
353
+ "modelmerger/Multiplier (M) - set to 0 to get model A/step": 0.05,
354
+ "modelmerger/Interpolation Method/visible": true,
355
+ "modelmerger/Interpolation Method/value": "Weighted sum",
356
+ "modelmerger/Checkpoint format/visible": true,
357
+ "modelmerger/Checkpoint format/value": "ckpt",
358
+ "modelmerger/Save as float16/visible": true,
359
+ "modelmerger/Save as float16/value": false
360
+ }