Upload main2.py
Browse files
main2.py
CHANGED
|
@@ -68,9 +68,12 @@ checkpoint_url = {
|
|
| 68 |
|
| 69 |
def run_git_download():
|
| 70 |
start_time = time.time()
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
| 74 |
subprocess.run(
|
| 75 |
f'git clone https://github.com/s4afa451dgf415f/sd-webui-controlnet {params["dir"]}/extensions/sd-wi-controlnet',
|
| 76 |
shell=True)
|
|
@@ -92,8 +95,11 @@ def run_git_download():
|
|
| 92 |
subprocess.run(
|
| 93 |
f'git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 {params["dir"]}/extensions/multidiffusion-upscaler',
|
| 94 |
shell=True)
|
|
|
|
|
|
|
|
|
|
| 95 |
subprocess.run(
|
| 96 |
-
f'git clone https://github.com/
|
| 97 |
shell=True)
|
| 98 |
subprocess.run(
|
| 99 |
f'git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot {params["dir"]}/extensions/stable-diffusion-webui-two-shot',
|
|
@@ -107,12 +113,6 @@ def run_git_download():
|
|
| 107 |
subprocess.run(
|
| 108 |
f'git clone https://github.com/a2569875/lora-prompt-tool {params["dir"]}/extensions/lora-prompt-tool',
|
| 109 |
shell=True)
|
| 110 |
-
# subprocess.run(
|
| 111 |
-
# f'git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor {params["dir"]}/extensions/sd-wi-3d-open-pose-editor',
|
| 112 |
-
# shell=True)
|
| 113 |
-
subprocess.run(
|
| 114 |
-
f'git clone https://github.com/hako-mikan/sd-webui-lora-block-weight {params["dir"]}/extensions/sd-wi-lora-block-weight',
|
| 115 |
-
shell=True)
|
| 116 |
end_time = time.time()
|
| 117 |
print("已克隆git耗时:", end_time - start_time, "秒")
|
| 118 |
def run_aria2c_download():
|
|
|
|
| 68 |
|
| 69 |
def run_git_download():
|
| 70 |
start_time = time.time()
|
| 71 |
+
subprocess.run(
|
| 72 |
+
f'git clone https://github.com/Bing-su/adetailer {params["dir"]}/extensions/adetailer',
|
| 73 |
+
shell=True)
|
| 74 |
+
subprocess.run(
|
| 75 |
+
f'git clone https://github.com/s4afa451dgf415f/sd-wi-aio {params["dir"]}/extensions/prompt-aio',
|
| 76 |
+
shell=True)
|
| 77 |
subprocess.run(
|
| 78 |
f'git clone https://github.com/s4afa451dgf415f/sd-webui-controlnet {params["dir"]}/extensions/sd-wi-controlnet',
|
| 79 |
shell=True)
|
|
|
|
| 95 |
subprocess.run(
|
| 96 |
f'git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 {params["dir"]}/extensions/multidiffusion-upscaler',
|
| 97 |
shell=True)
|
| 98 |
+
# subprocess.run(
|
| 99 |
+
# f'git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor {params["dir"]}/extensions/sd-wi-3d-open-pose-editor',
|
| 100 |
+
# shell=True)
|
| 101 |
subprocess.run(
|
| 102 |
+
f'git clone https://github.com/hako-mikan/sd-webui-lora-block-weight {params["dir"]}/extensions/sd-wi-lora-block-weight',
|
| 103 |
shell=True)
|
| 104 |
subprocess.run(
|
| 105 |
f'git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot {params["dir"]}/extensions/stable-diffusion-webui-two-shot',
|
|
|
|
| 113 |
subprocess.run(
|
| 114 |
f'git clone https://github.com/a2569875/lora-prompt-tool {params["dir"]}/extensions/lora-prompt-tool',
|
| 115 |
shell=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
end_time = time.time()
|
| 117 |
print("已克隆git耗时:", end_time - start_time, "秒")
|
| 118 |
def run_aria2c_download():
|