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 |
-
response = requests.get(
|
40 |
if response.status_code == 200:
|
41 |
with open(destination_file, "wb") as file:
|
42 |
file.write(response.content)
|
|
|
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 |
+
response = requests.get(file_url)
|
40 |
if response.status_code == 200:
|
41 |
with open(destination_file, "wb") as file:
|
42 |
file.write(response.content)
|