Update main3.py
Browse files
main3.py
CHANGED
|
@@ -206,7 +206,7 @@ def rec_config_json():
|
|
| 206 |
"tac_appendComma": True,
|
| 207 |
"tac_alias.searchByAlias": True,
|
| 208 |
"tac_alias.onlyShowAlias": False,
|
| 209 |
-
"tac_translation.translationFile":
|
| 210 |
"tac_translation.oldFormat": True,
|
| 211 |
"tac_translation.searchByTranslation": True,
|
| 212 |
"tac_extra.extraFile": "extra-quality-tags.csv",
|
|
@@ -256,7 +256,7 @@ if params["download"]== "True":
|
|
| 256 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/datasets/daasd/sd_backup/resolve/main/png_auto_download.js -d {params["dir"]}/javascript -o pad.js',
|
| 257 |
shell=True)
|
| 258 |
else:
|
| 259 |
-
if os.path.exists(f'{params["dir"]}/javascript/
|
| 260 |
os.remove(f'{params["dir"]}/javascript/png_auto_download.js')
|
| 261 |
|
| 262 |
# anapnoe版本
|
|
|
|
| 206 |
"tac_appendComma": True,
|
| 207 |
"tac_alias.searchByAlias": True,
|
| 208 |
"tac_alias.onlyShowAlias": False,
|
| 209 |
+
"tac_translation.translationFile": ZH.csv",
|
| 210 |
"tac_translation.oldFormat": True,
|
| 211 |
"tac_translation.searchByTranslation": True,
|
| 212 |
"tac_extra.extraFile": "extra-quality-tags.csv",
|
|
|
|
| 256 |
f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/datasets/daasd/sd_backup/resolve/main/png_auto_download.js -d {params["dir"]}/javascript -o pad.js',
|
| 257 |
shell=True)
|
| 258 |
else:
|
| 259 |
+
if os.path.exists(f'{params["dir"]}/javascript/png_auto_download.js'):
|
| 260 |
os.remove(f'{params["dir"]}/javascript/png_auto_download.js')
|
| 261 |
|
| 262 |
# anapnoe版本
|