Update main2.py
Browse files
main2.py
CHANGED
|
@@ -77,9 +77,9 @@ def run_git_download():
|
|
| 77 |
subprocess.run(
|
| 78 |
f'git clone https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN {params["dir"]}/extensions/stable-diffusion-wi-localization-zh_CN',
|
| 79 |
shell=True)
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
subprocess.run(
|
| 84 |
f'git clone https://github.com/s4afa451dgf415f/sd-wi-tagcomplet {params["dir"]}/extensions/a1111-sd-wi-tagcomplete',
|
| 85 |
shell=True)
|
|
@@ -189,7 +189,6 @@ def pip_download():
|
|
| 189 |
# all in one和controlnet所需依赖
|
| 190 |
subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
|
| 191 |
for root, dirs, files in os.walk(f"{params['dir']}/extensions"):
|
| 192 |
-
print(f"{params['dir']}/extensions")
|
| 193 |
for file in files:
|
| 194 |
if file == 'install.py':
|
| 195 |
file_path = os.path.join(root, file)
|
|
|
|
| 77 |
subprocess.run(
|
| 78 |
f'git clone https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN {params["dir"]}/extensions/stable-diffusion-wi-localization-zh_CN',
|
| 79 |
shell=True)
|
| 80 |
+
subprocess.run(
|
| 81 |
+
f'git clone https://github.com/fkunn1326/openpose-editor {params["dir"]}/extensions/openpose-editor',
|
| 82 |
+
shell=True)
|
| 83 |
subprocess.run(
|
| 84 |
f'git clone https://github.com/s4afa451dgf415f/sd-wi-tagcomplet {params["dir"]}/extensions/a1111-sd-wi-tagcomplete',
|
| 85 |
shell=True)
|
|
|
|
| 189 |
# all in one和controlnet所需依赖
|
| 190 |
subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
|
| 191 |
for root, dirs, files in os.walk(f"{params['dir']}/extensions"):
|
|
|
|
| 192 |
for file in files:
|
| 193 |
if file == 'install.py':
|
| 194 |
file_path = os.path.join(root, file)
|