Update main2.py
Browse files
main2.py
CHANGED
|
@@ -19,7 +19,7 @@ for arg in sys.argv[1:]:
|
|
| 19 |
subprocess.run(f'cd {params["dir"]}/', shell=True)
|
| 20 |
if params["ui"] == "anapnoe手机端完美适配":
|
| 21 |
subprocess.run(f'git clone https://github.com/anapnoe/stable-diffusion-webui {params["dir"]}', shell=True)
|
| 22 |
-
elif params["ui"] == "AUTOMATIC1111原版v1.6.0
|
| 23 |
subprocess.run(
|
| 24 |
f'git clone -b v1.6.0 https://github.com/s4afa451dgf415f/sdwi {params["dir"]}', shell=True)
|
| 25 |
else:
|
|
@@ -86,6 +86,9 @@ def run_git_download():
|
|
| 86 |
subprocess.run(
|
| 87 |
f'git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 {params["dir"]}/extensions/ultimate-upscale',
|
| 88 |
shell=True)
|
|
|
|
|
|
|
|
|
|
| 89 |
subprocess.run(
|
| 90 |
f'git clone https://github.com/toriato/stable-diffusion-webui-wd14-tagger {params["dir"]}/extensions/stable-diffusion-wi-wd14-tagger',
|
| 91 |
shell=True)
|
|
|
|
| 19 |
subprocess.run(f'cd {params["dir"]}/', shell=True)
|
| 20 |
if params["ui"] == "anapnoe手机端完美适配":
|
| 21 |
subprocess.run(f'git clone https://github.com/anapnoe/stable-diffusion-webui {params["dir"]}', shell=True)
|
| 22 |
+
elif params["ui"] == "AUTOMATIC1111原版v1.6.0[sdxl]":
|
| 23 |
subprocess.run(
|
| 24 |
f'git clone -b v1.6.0 https://github.com/s4afa451dgf415f/sdwi {params["dir"]}', shell=True)
|
| 25 |
else:
|
|
|
|
| 86 |
subprocess.run(
|
| 87 |
f'git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 {params["dir"]}/extensions/ultimate-upscale',
|
| 88 |
shell=True)
|
| 89 |
+
subprocess.run(
|
| 90 |
+
f'git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 {params["dir"]}/extensions/multidiffusion-upscaler',
|
| 91 |
+
shell=True)
|
| 92 |
subprocess.run(
|
| 93 |
f'git clone https://github.com/toriato/stable-diffusion-webui-wd14-tagger {params["dir"]}/extensions/stable-diffusion-wi-wd14-tagger',
|
| 94 |
shell=True)
|