Rakshitjan commited on
Commit
53e5e30
·
verified ·
1 Parent(s): 8644b0a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
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