Update main2.py
Browse files
main2.py
CHANGED
|
@@ -144,9 +144,9 @@ def run_aria2c_download():
|
|
| 144 |
subprocess.run(
|
| 145 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lokCX/4x-Ultrasharp/resolve/main/4x-UltraSharp.pth -d {params["dir"]}/models/ESRGAN/ -o 4x-UltraSharp.pth',
|
| 146 |
shell=True)
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
end_time = time.time()
|
| 151 |
print("aria2c完成下载耗时:", end_time - start_time, "秒")
|
| 152 |
|
|
|
|
| 144 |
subprocess.run(
|
| 145 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lokCX/4x-Ultrasharp/resolve/main/4x-UltraSharp.pth -d {params["dir"]}/models/ESRGAN/ -o 4x-UltraSharp.pth',
|
| 146 |
shell=True)
|
| 147 |
+
subprocess.run(
|
| 148 |
+
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/datasets/daasd/sd_backup/resolve/main/ZH.csv -d {params["dir"]}/extensions/a1111-sd-wi-tagcomplete/tags -o ZH.csv',
|
| 149 |
+
shell=True)
|
| 150 |
end_time = time.time()
|
| 151 |
print("aria2c完成下载耗时:", end_time - start_time, "秒")
|
| 152 |
|