rushankg commited on
Commit
9cc277c
·
1 Parent(s): f68a5ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ 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
- 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,
 
37
  index=np.where(coursedf['title'] == result)[0][0]
38
  course_id=coursedf.iloc[index,0]
39
  st.subheader(course_id+": "+result)
40
+ link = "[ExploreCourses](https://explorecourses.stanford.edu/search?q="+course_id+": "+result+")"
41
+ st.markdown(link, unsafe_allow_html=True)
42
  st.divider()
43
  # card(
44
  # title=course_id,