Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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)
|