Update main2.py
Browse files
main2.py
CHANGED
|
@@ -113,19 +113,18 @@ def run_git_download():
|
|
| 113 |
subprocess.run(
|
| 114 |
f'git clone https://github.com/joyjoy0213/sd-lr {params["dir"]}/extensions/sd-lr',
|
| 115 |
shell=True)
|
| 116 |
-
end_time = time.time()
|
| 117 |
subprocess.run(
|
| 118 |
f'git clone https://github.com/joyjoy0213/iCH {params["dir"]}/extensions/iCH',
|
| 119 |
shell=True)
|
| 120 |
-
end_time = time.time()
|
| 121 |
subprocess.run(
|
| 122 |
f'git clone https://github.com/joyjoy0213/civ {params["dir"]}/extensions/civ',
|
| 123 |
shell=True)
|
| 124 |
-
end_time = time.time()
|
| 125 |
subprocess.run(
|
| 126 |
-
f'git clone https://github.com/joyjoy0213/-ima {params["dir"]}/extensions/ima',
|
|
|
|
|
|
|
|
|
|
| 127 |
shell=True)
|
| 128 |
-
end_time = time.time()
|
| 129 |
subprocess.run(
|
| 130 |
f'git clone https://github.com/joyjoy0213/mn {params["dir"]}/extensions/mn',
|
| 131 |
shell=True)
|
|
@@ -181,9 +180,9 @@ def run_aria2c_download():
|
|
| 181 |
subprocess.run(
|
| 182 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/konohashinobi4/4xAnimesharp/tree/main -d {params["dir"]}/models/ESRGAN/ -o 4x-AnimeSharp.pth',
|
| 183 |
shell=True)
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
end_time = time.time()
|
| 188 |
print("aria2c完成下载耗时:", end_time - start_time, "秒")
|
| 189 |
|
|
|
|
| 113 |
subprocess.run(
|
| 114 |
f'git clone https://github.com/joyjoy0213/sd-lr {params["dir"]}/extensions/sd-lr',
|
| 115 |
shell=True)
|
|
|
|
| 116 |
subprocess.run(
|
| 117 |
f'git clone https://github.com/joyjoy0213/iCH {params["dir"]}/extensions/iCH',
|
| 118 |
shell=True)
|
|
|
|
| 119 |
subprocess.run(
|
| 120 |
f'git clone https://github.com/joyjoy0213/civ {params["dir"]}/extensions/civ',
|
| 121 |
shell=True)
|
|
|
|
| 122 |
subprocess.run(
|
| 123 |
+
f'git clone https://github.com/joyjoy0213/-ima {params["dir"]}/extensions/-ima',
|
| 124 |
+
shell=True)
|
| 125 |
+
subprocess.run(
|
| 126 |
+
f'git clone https://github.com/joyjoy0213/ima {params["dir"]}/extensions/ima',
|
| 127 |
shell=True)
|
|
|
|
| 128 |
subprocess.run(
|
| 129 |
f'git clone https://github.com/joyjoy0213/mn {params["dir"]}/extensions/mn',
|
| 130 |
shell=True)
|
|
|
|
| 180 |
subprocess.run(
|
| 181 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/konohashinobi4/4xAnimesharp/tree/main -d {params["dir"]}/models/ESRGAN/ -o 4x-AnimeSharp.pth',
|
| 182 |
shell=True)
|
| 183 |
+
subprocess.run(
|
| 184 |
+
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/caocaocoa/joyLora/resolve/main/ZH.csv -d {params["dir"]}/extensions/a1111-sd-wi-tagcomplete/tags -o ZH.csv',
|
| 185 |
+
shell=True)
|
| 186 |
end_time = time.time()
|
| 187 |
print("aria2c完成下载耗时:", end_time - start_time, "秒")
|
| 188 |
|