Spaces:
Sleeping
Sleeping
Commit
·
9930fcd
1
Parent(s):
bd4ae6c
Update app.py
Browse files
app.py
CHANGED
@@ -105,9 +105,7 @@ with st.expander("Home bar"):
|
|
105 |
# st.button(label='Reset', on_click=reset_bar)
|
106 |
|
107 |
with st.expander("Find similar recipes"):
|
108 |
-
|
109 |
-
names_list = names_list.insert(0, '< PICK A VALUE >')
|
110 |
-
st.selectbox("Select a recipe:", names_list)
|
111 |
|
112 |
def similarity(ratings, kind='user', epsilon=1e-9):
|
113 |
if kind == 'user':
|
|
|
105 |
# st.button(label='Reset', on_click=reset_bar)
|
106 |
|
107 |
with st.expander("Find similar recipes"):
|
108 |
+
st.selectbox("Select a recipe:", pd.concat([pd.Series('test'),recipes['name']]))
|
|
|
|
|
109 |
|
110 |
def similarity(ratings, kind='user', epsilon=1e-9):
|
111 |
if kind == 'user':
|