chenxiYan commited on
Commit
b711c63
1 Parent(s): b44cb19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(url)
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)