sub314xxl Osmond141319 commited on
Commit
9e32f3d
0 Parent(s):

Duplicate from Osmond141319/webui-cpu-extension-test

Browse files

Co-authored-by: Osmond141319 <[email protected]>

Files changed (5) hide show
  1. .gitattributes +34 -0
  2. README.md +11 -0
  3. app.py +68 -0
  4. config.json +114 -0
  5. 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-cpu-extension-test
3
+ emoji: 🌍
4
+ colorFrom: blue
5
+ colorTo: blue
6
+ sdk: gradio
7
+ sdk_version: 3.9
8
+ app_file: app.py
9
+ pinned: true
10
+ duplicated_from: Osmond141319/webui-cpu-extension-test
11
+ ---
app.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.16/xformers-0.0.16+814314d.d20230118-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.16/xformers-0.0.16+814314d.d20230118-cp38-cp38-linux_x86_64.whl")
9
+
10
+ os.system(f"git clone https://github.com/AUTOMATIC1111/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://github.com/camenduru/webui/raw/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
+ os.system(f"wget -q https://huggingface.co/Alsebay/PeachMixs/resolve/main/PeachTachyonMixs/PeachTachyon2.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/PeachTachyon2.safetensors")
31
+ os.system(f"wget -q https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt")
32
+ os.system(f"git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser")
33
+ if "IS_SHARED_UI" in os.environ:
34
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
35
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
36
+ os.system(f"python launch.py --use-cpu all --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 --skip-torch-cuda-test")
37
+ else:
38
+ # 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")
39
+ #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")
40
+
41
+ # 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")
42
+ os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui-artists-to-study /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-artists-to-study")
43
+ os.system(f"git clone https://github.com/kohya-ss/sd-webui-additional-networks /home/user/app/stable-diffusion-webui/extensions/sd-webui-additional-networks")
44
+ os.system(f"wget -q https://huggingface.co/qewadszcx132/hyperbreasts/resolve/main/hyperbreasts_v4.ckpt -O /home/user/app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/hyperbreasts_v4.ckpt")
45
+ os.system(f"wget -q https://huggingface.co/Osmond141319/Hyperbreasts/resolve/main/hyperbreasts_v5Lora.ckpt -O /home/user/app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/hyperbreasts_v5.ckpt")
46
+ #os.system(f"git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser")
47
+ #os.system(f"git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui")
48
+
49
+ # 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")
50
+ os.system(f"wget -q https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-v4.5-pruned.safetensors")
51
+ #os.system(f"wget -q https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/AbyssOrangeMix3.safetensors")
52
+ #os.system(f"wget -q https://huggingface.co/nitrosocke/Arcane-Diffusion/resolve/main/arcane-diffusion-v3.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/arcane-diffusion-v3.ckpt")
53
+ #os.system(f"wget -q https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/Cyberpunk-Anime-Diffusion.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Cyberpunk-Anime-Diffusion.ckpt")
54
+ #os.system(f"wget -q https://huggingface.co/prompthero/midjourney-v4-diffusion/resolve/main/mdjrny-v4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/mdjrny-v4.ckpt")
55
+ #os.system(f"wget -q https://huggingface.co/nitrosocke/mo-di-diffusion/resolve/main/moDi-v1-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/moDi-v1-pruned.ckpt")
56
+ #os.system(f"wget -q https://huggingface.co/Fictiverse/Stable_Diffusion_PaperCut_Model/resolve/main/PaperCut_v1.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/PaperCut_v1.ckpt")
57
+ #os.system(f"wget -q https://huggingface.co/lilpotat/sa/resolve/main/samdoesarts_style.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/samdoesarts_style.ckpt")
58
+ #os.system(f"wget -q https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt")
59
+ #os.system(f"wget -q https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")
60
+ #os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt")
61
+ #os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-inpainting/resolve/main/sd-v1-5-inpainting.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-5-inpainting.ckpt")
62
+ #os.system(f"wget -q https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt")
63
+ #os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml")
64
+ os.system(f"EXPOSE 7860")
65
+ #os.system(f"git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser")
66
+ #os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
67
+ # os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
68
+ os.system(f"python launch.py --precision full --no-half --use-cpu all --listen --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": true,
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": "vae-ft-mse-840000-ema-pruned.ckpt",
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
+ }
ui-config.json ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "txt2img/Prompt/visible": true,
3
+ "txt2img/Prompt/value": "",
4
+ "txt2img/Negative prompt/visible": true,
5
+ "txt2img/Negative prompt/value": "(worst quality:1.4), (low quality:1.4), (monochrome:1.1), (bad_prompt_version2:0.8), text, jpeg, watermark, artist sign, blurry, out of frame,",
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": 50,
14
+ "txt2img/Sampling Steps/step": 1,
15
+ "txt2img/Sampling method/visible": true,
16
+ "txt2img/Sampling method/value": "Euler A",
17
+ "txt2img/Width/visible": true,
18
+ "txt2img/Width/value": 512,
19
+ "txt2img/Width/minimum": 64,
20
+ "txt2img/Width/maximum": 768,
21
+ "txt2img/Width/step": 64,
22
+ "txt2img/Height/visible": true,
23
+ "txt2img/Height/value": 512,
24
+ "txt2img/Height/minimum": 64,
25
+ "txt2img/Height/maximum": 768,
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": true,
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": true,
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": true,
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": true,
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": true,
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": true,
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": "multiple breasts, (mutated hands and fingers:1.5 ), (long body :1.3), (mutation, poorly drawn :1.2) , black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, lowres, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, ​heav​y breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, fused animal ears, bad animal ears, poorly drawn animal ears, extra animal ears, liquid animal ears, heavy animal ears, missing animal ears, text, ui, error, missing fingers,",
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": true,
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": true,
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": true,
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
+ }