Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -111,15 +111,15 @@ async def generate_roadmap(input_data: RoadmapInput):
|
|
111 |
with open('Maths.json', 'r', encoding='utf-8') as file:
|
112 |
maths = json.load(file)
|
113 |
|
114 |
-
|
115 |
-
print(chem)
|
116 |
-
print(maths)
|
117 |
|
118 |
# Remove completed chapters
|
119 |
phy = remove_completed_chapters(phy, input_data.completed_phy_chapters)
|
120 |
chem = remove_completed_chapters(chem, input_data.completed_chem_chapters)
|
121 |
maths = remove_completed_chapters(maths, input_data.completed_maths_chapters)
|
122 |
-
|
|
|
|
|
123 |
# Get topics within timeframe
|
124 |
physics_topics = get_topics_within_timeframe(phy, input_data.total_time, input_data.startphyRoadmapFrom)
|
125 |
chemistry_topics = get_topics_within_timeframe(chem, input_data.total_time, input_data.startchemRoadmapFrom)
|
|
|
111 |
with open('Maths.json', 'r', encoding='utf-8') as file:
|
112 |
maths = json.load(file)
|
113 |
|
114 |
+
|
|
|
|
|
115 |
|
116 |
# Remove completed chapters
|
117 |
phy = remove_completed_chapters(phy, input_data.completed_phy_chapters)
|
118 |
chem = remove_completed_chapters(chem, input_data.completed_chem_chapters)
|
119 |
maths = remove_completed_chapters(maths, input_data.completed_maths_chapters)
|
120 |
+
print(phy)
|
121 |
+
print(chem)
|
122 |
+
print(maths)
|
123 |
# Get topics within timeframe
|
124 |
physics_topics = get_topics_within_timeframe(phy, input_data.total_time, input_data.startphyRoadmapFrom)
|
125 |
chemistry_topics = get_topics_within_timeframe(chem, input_data.total_time, input_data.startchemRoadmapFrom)
|