Upload upload_huggingface.py with huggingface_hub
Browse files- upload_huggingface.py +1 -1
upload_huggingface.py
CHANGED
@@ -102,6 +102,6 @@ if __name__ == "__main__":
|
|
102 |
upload_to_huggingface(
|
103 |
local_directory=".", # 当前目录
|
104 |
repo_id="Facepalm0/Ubiquant_CharacterHunter", # 替换为你的仓库ID
|
105 |
-
max_retries=
|
106 |
retry_delay=5 # 每次重试间隔5秒
|
107 |
)
|
|
|
102 |
upload_to_huggingface(
|
103 |
local_directory=".", # 当前目录
|
104 |
repo_id="Facepalm0/Ubiquant_CharacterHunter", # 替换为你的仓库ID
|
105 |
+
max_retries=3, # 最大重试5次
|
106 |
retry_delay=5 # 每次重试间隔5秒
|
107 |
)
|