Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -121,11 +121,11 @@ async def generate_roadmap(input_data: RoadmapInput):
|
|
121 |
chemistry_topics = get_topics_within_timeframe(chem, input_data.total_time, input_data.startchemRoadmapFrom)
|
122 |
mathematics_topics = get_topics_within_timeframe(maths, input_data.total_time, input_data.startmathRoadmapFrom)
|
123 |
|
124 |
-
for topic in reversed(userleft_topic_phy):
|
125 |
physics_topics.insert(0, topic)
|
126 |
-
for topic in reversed(userleft_topic_chem):
|
127 |
chemistry_topics.insert(0, topic)
|
128 |
-
for topic in reversed(userleft_topic_maths):
|
129 |
mathematics_topics.insert(0, topic)
|
130 |
|
131 |
# User persona string
|
|
|
121 |
chemistry_topics = get_topics_within_timeframe(chem, input_data.total_time, input_data.startchemRoadmapFrom)
|
122 |
mathematics_topics = get_topics_within_timeframe(maths, input_data.total_time, input_data.startmathRoadmapFrom)
|
123 |
|
124 |
+
for topic in reversed(input_data.userleft_topic_phy):
|
125 |
physics_topics.insert(0, topic)
|
126 |
+
for topic in reversed(input_data.userleft_topic_chem):
|
127 |
chemistry_topics.insert(0, topic)
|
128 |
+
for topic in reversed(input_data.userleft_topic_maths):
|
129 |
mathematics_topics.insert(0, topic)
|
130 |
|
131 |
# User persona string
|