Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -545,8 +545,8 @@ def parse_query_and_set_initial_positions(state: GameState):
|
|
545 |
|
546 |
# [TEMPORARY FOR LOGGING]
|
547 |
# Optional: Save raw_response that failed parsing
|
548 |
-
with open("debug_state.json", "w", encoding="utf-8") as f:
|
549 |
-
|
550 |
|
551 |
return state
|
552 |
#return {"project_json": new_project_json}
|
|
|
545 |
|
546 |
# [TEMPORARY FOR LOGGING]
|
547 |
# Optional: Save raw_response that failed parsing
|
548 |
+
#with open("debug_state.json", "w", encoding="utf-8") as f:
|
549 |
+
# json.dump(state, f, indent=2, ensure_ascii=False)
|
550 |
|
551 |
return state
|
552 |
#return {"project_json": new_project_json}
|