Update app.py
Browse files
app.py
CHANGED
|
@@ -2358,9 +2358,9 @@ def process_pdf():
|
|
| 2358 |
"temp_pseudo_code":[],
|
| 2359 |
}
|
| 2360 |
|
| 2361 |
-
|
| 2362 |
-
|
| 2363 |
-
final_project_json = project_skeleton
|
| 2364 |
|
| 2365 |
# Save the *final* filled project JSON, overwriting the skeleton
|
| 2366 |
with open(project_output, "w") as f:
|
|
|
|
| 2358 |
"temp_pseudo_code":[],
|
| 2359 |
}
|
| 2360 |
|
| 2361 |
+
final_state_dict = app_graph.invoke(initial_state_dict,config={"recursion_limit": 200})
|
| 2362 |
+
final_project_json = final_state_dict['project_json'] # Access as dict
|
| 2363 |
+
#final_project_json = project_skeleton
|
| 2364 |
|
| 2365 |
# Save the *final* filled project JSON, overwriting the skeleton
|
| 2366 |
with open(project_output, "w") as f:
|