Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ if maincol1.button('Recommend by title',use_container_width=True):
|
|
| 45 |
st.write(course_df_new.iloc[index,3]) #Using the new coursedf because it has proper descriptions for each course
|
| 46 |
link = "[ExploreCourses](https://explorecourses.stanford.edu/search?q="+course_id+"+"+result.replace(" ","+")+")"
|
| 47 |
st.markdown(link, unsafe_allow_html=True)
|
| 48 |
-
link = "https://carta-beta.stanford.edu/results/"+course_id
|
| 49 |
st.markdown(link, unsafe_allow_html=True)
|
| 50 |
st.divider()
|
| 51 |
|
|
@@ -60,6 +60,6 @@ if maincol2.button('Recommend by description',use_container_width=True):
|
|
| 60 |
st.write(course_df_new.iloc[index_new,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 = "https://carta-beta.stanford.edu/results/"+course_id
|
| 64 |
st.markdown(link, unsafe_allow_html=True)
|
| 65 |
st.divider()
|
|
|
|
| 45 |
st.write(course_df_new.iloc[index,3]) #Using the new coursedf because it has proper descriptions for each course
|
| 46 |
link = "[ExploreCourses](https://explorecourses.stanford.edu/search?q="+course_id+"+"+result.replace(" ","+")+")"
|
| 47 |
st.markdown(link, unsafe_allow_html=True)
|
| 48 |
+
link = "[Carta](https://carta-beta.stanford.edu/results/"+course_id+")"
|
| 49 |
st.markdown(link, unsafe_allow_html=True)
|
| 50 |
st.divider()
|
| 51 |
|
|
|
|
| 60 |
st.write(course_df_new.iloc[index_new,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+")"
|
| 64 |
st.markdown(link, unsafe_allow_html=True)
|
| 65 |
st.divider()
|