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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ for ai_role_en in NAME_DICT.values():
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)
43
  else:
 
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)
43
  else: