Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,4 +27,7 @@ def recommend(coursename):
|
|
27 |
st.set_page_config(page_title='DiscoverCourses', page_icon=':book:')
|
28 |
st.title('DiscoverCourses')
|
29 |
|
30 |
-
selected_course = st.selectbox('Please select a course',course_title_list)
|
|
|
|
|
|
|
|
27 |
st.set_page_config(page_title='DiscoverCourses', page_icon=':book:')
|
28 |
st.title('DiscoverCourses')
|
29 |
|
30 |
+
selected_course = st.selectbox('Please select a course',course_title_list)
|
31 |
+
|
32 |
+
if st.button('I want more like this!'):
|
33 |
+
st.write(recommend(np.where(coursedf['title'] == selected_course)[0][0]))
|