Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -136,7 +136,7 @@ async def generate_roadmap(study_input: StudyInput):
|
|
| 136 |
"Maths": maths_roadmap
|
| 137 |
}
|
| 138 |
|
| 139 |
-
return final_roadmap
|
| 140 |
except Exception as e:
|
| 141 |
raise HTTPException(status_code=500, detail=str(e))
|
| 142 |
|
|
|
|
| 136 |
"Maths": maths_roadmap
|
| 137 |
}
|
| 138 |
|
| 139 |
+
return json.dumps(final_roadmap, indent=4)
|
| 140 |
except Exception as e:
|
| 141 |
raise HTTPException(status_code=500, detail=str(e))
|
| 142 |
|