Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ if maincol2.button('Recommend by description',use_container_width=True):
|
|
57 |
course_id=coursedf.iloc[index,0]
|
58 |
st.subheader(course_id+": "+result)
|
59 |
with st.expander("See description"):
|
60 |
-
st.write(course_df_new.iloc[
|
61 |
link = "[ExploreCourses](https://explorecourses.stanford.edu/search?q="+course_id+"+"+result.replace(" ","+")+")"
|
62 |
st.markdown(link, unsafe_allow_html=True)
|
63 |
link = "[Carta](https://carta-beta.stanford.edu/results/"+course_id+")"
|
|
|
57 |
course_id=coursedf.iloc[index,0]
|
58 |
st.subheader(course_id+": "+result)
|
59 |
with st.expander("See description"):
|
60 |
+
st.write(course_df_new.iloc[index,3]) #Using the new coursedf because it has proper descriptions for each course
|
61 |
link = "[ExploreCourses](https://explorecourses.stanford.edu/search?q="+course_id+"+"+result.replace(" ","+")+")"
|
62 |
st.markdown(link, unsafe_allow_html=True)
|
63 |
link = "[Carta](https://carta-beta.stanford.edu/results/"+course_id+")"
|