Spaces:
Sleeping
Sleeping
Commit
·
634c585
1
Parent(s):
70c529a
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,10 @@ with st.expander("Home bar"):
|
|
102 |
|
103 |
# st.button(label='Submit Bar', on_click=submit_bar)
|
104 |
# st.button(label='Reset', on_click=reset_bar)
|
105 |
-
|
|
|
|
|
|
|
106 |
st.header("Recipes")
|
107 |
filter_all = list(set(filter_name) & set(filter_ingredient) & set(filter_source) & set(filter_type) & set(st.session_state.filter_bar))
|
108 |
st.dataframe(recipes[recipes['name'].isin(filter_all)], hide_index=True)
|
|
|
102 |
|
103 |
# st.button(label='Submit Bar', on_click=submit_bar)
|
104 |
# st.button(label='Reset', on_click=reset_bar)
|
105 |
+
|
106 |
+
with st.expander("Find similar recipes"):
|
107 |
+
st.selectbox("Select a recipe:", recipes['name'].unique())
|
108 |
+
|
109 |
st.header("Recipes")
|
110 |
filter_all = list(set(filter_name) & set(filter_ingredient) & set(filter_source) & set(filter_type) & set(st.session_state.filter_bar))
|
111 |
st.dataframe(recipes[recipes['name'].isin(filter_all)], hide_index=True)
|