Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ for ai_role_en in NAME_DICT.values():
|
|
43 |
with open(destination_file, "wb") as file:
|
44 |
file.write(response.content)
|
45 |
print(ai_role_en)
|
46 |
-
|
47 |
else:
|
48 |
print(f"{ai_role_en}第{attempt}次下载失败")
|
49 |
# wget.download(file_url, destination_file) # 503
|
|
|
43 |
with open(destination_file, "wb") as file:
|
44 |
file.write(response.content)
|
45 |
print(ai_role_en)
|
46 |
+
break
|
47 |
else:
|
48 |
print(f"{ai_role_en}第{attempt}次下载失败")
|
49 |
# wget.download(file_url, destination_file) # 503
|