Update server.py
Browse files
server.py
CHANGED
|
@@ -497,7 +497,7 @@ def SillyTavern():
|
|
| 497 |
# os.system(f"kaggle datasets download {huggingface_name}/{huggingface_Data_name}")
|
| 498 |
while True:
|
| 499 |
# 执行下载命令
|
| 500 |
-
os.system(f"kaggle datasets download {huggingface_name}/{huggingface_Data_name}")
|
| 501 |
# 检查文件是否存在
|
| 502 |
if os.path.exists(f'/{huggingface_Data_name}.zip'):
|
| 503 |
print(f"{huggingface_Data_name}.zip 下载成功!")
|
|
|
|
| 497 |
# os.system(f"kaggle datasets download {huggingface_name}/{huggingface_Data_name}")
|
| 498 |
while True:
|
| 499 |
# 执行下载命令
|
| 500 |
+
os.system(f"kaggle datasets download {huggingface_name}/{huggingface_Data_name} -p /")
|
| 501 |
# 检查文件是否存在
|
| 502 |
if os.path.exists(f'/{huggingface_Data_name}.zip'):
|
| 503 |
print(f"{huggingface_Data_name}.zip 下载成功!")
|