Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ for ai_role_en in NAME_DICT.values():
|
|
36 |
pass
|
37 |
if f"{ai_role_en}.zip" not in os.listdir(f"characters_zip"):
|
38 |
destination_file = f"characters_zip/{ai_role_en}.zip"
|
39 |
-
wget.download(file_url, destination_file)
|
40 |
destination_folder = f"characters/{ai_role_en}"
|
41 |
with zipfile.ZipFile(destination_file, 'r') as zip_ref:
|
42 |
zip_ref.extractall(destination_folder)
|
|
|
36 |
pass
|
37 |
if f"{ai_role_en}.zip" not in os.listdir(f"characters_zip"):
|
38 |
destination_file = f"characters_zip/{ai_role_en}.zip"
|
39 |
+
wget.download(file_url, destination_file) # 503
|
40 |
destination_folder = f"characters/{ai_role_en}"
|
41 |
with zipfile.ZipFile(destination_file, 'r') as zip_ref:
|
42 |
zip_ref.extractall(destination_folder)
|