Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -274,14 +274,14 @@ async def generate_roadmap(study_input: StudyInput):
|
|
274 |
chem = json.load(file)
|
275 |
with open('Maths.json', 'r', encoding='utf-8') as file:
|
276 |
maths = json.load(file)
|
277 |
-
|
278 |
-
print(chem)
|
279 |
-
print(maths)
|
280 |
# Remove completed chapters
|
281 |
phy = remove_completed_chapters(phy, study_input.completed_phy_chapters)
|
282 |
chem = remove_completed_chapters(chem, study_input.completed_chem_chapters)
|
283 |
maths = remove_completed_chapters(maths, study_input.completed_maths_chapters)
|
284 |
-
|
|
|
|
|
285 |
# Get data at specified indices
|
286 |
phy = get_data_at_index(phy, study_input.physicsStartIndex)
|
287 |
chem = get_data_at_index(chem, study_input.chemistryStartIndex)
|
|
|
274 |
chem = json.load(file)
|
275 |
with open('Maths.json', 'r', encoding='utf-8') as file:
|
276 |
maths = json.load(file)
|
277 |
+
|
|
|
|
|
278 |
# Remove completed chapters
|
279 |
phy = remove_completed_chapters(phy, study_input.completed_phy_chapters)
|
280 |
chem = remove_completed_chapters(chem, study_input.completed_chem_chapters)
|
281 |
maths = remove_completed_chapters(maths, study_input.completed_maths_chapters)
|
282 |
+
print(phy)
|
283 |
+
print(chem)
|
284 |
+
print(maths)
|
285 |
# Get data at specified indices
|
286 |
phy = get_data_at_index(phy, study_input.physicsStartIndex)
|
287 |
chem = get_data_at_index(chem, study_input.chemistryStartIndex)
|