rushankg commited on
Commit
f68a5ef
·
1 Parent(s): 1907c60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -37,6 +37,9 @@ if st.button('I want more like this!'):
37
  index=np.where(coursedf['title'] == result)[0][0]
38
  course_id=coursedf.iloc[index,0]
39
  st.subheader(course_id+": "+result)
 
 
 
40
  # card(
41
  # title=course_id,
42
  # text=result,
 
37
  index=np.where(coursedf['title'] == result)[0][0]
38
  course_id=coursedf.iloc[index,0]
39
  st.subheader(course_id+": "+result)
40
+ st.text(coursedf.iloc[index,2]) # Course description
41
+ st.write("[Explore Courses](https://explorecourses.stanford.edu/search?q="+course_id+": "+result+")")
42
+ st.divider()
43
  # card(
44
  # title=course_id,
45
  # text=result,