yoon-gu commited on
Commit
2c3cc27
1 Parent(s): a73284c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ with gr.Blocks() as demo:
179
  infos[user].best_score = infos[user].score
180
  infos[user].best_time = min(time.time() - infos[user].time, infos[user].best_time)
181
  infos[user].best_time = round(infos[user].best_time, 2)
182
- infos[user].comment = f"{gen.replace(' ', '')}+{types.replace(' ', '')}"
183
  infos[user].history = []
184
  with open("infos.json", "w") as f:
185
  json.dump({k: v.model_dump() for k, v in infos.items()}, f, indent=4, ensure_ascii=False)
 
179
  infos[user].best_score = infos[user].score
180
  infos[user].best_time = min(time.time() - infos[user].time, infos[user].best_time)
181
  infos[user].best_time = round(infos[user].best_time, 2)
182
+ infos[user].comment = f"{gen}+{types}"
183
  infos[user].history = []
184
  with open("infos.json", "w") as f:
185
  json.dump({k: v.model_dump() for k, v in infos.items()}, f, indent=4, ensure_ascii=False)