Spaces:
Sleeping
Sleeping
adrianpierce
commited on
Commit
·
c296fbd
1
Parent(s):
94bcb51
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ with col2:
|
|
52 |
|
53 |
with col3:
|
54 |
st.subheader("Similar Cuisines")
|
55 |
-
select_cuisine_sim = st.selectbox('Select a cuisine to view most similar cuisines by spices',cuisines.keys())
|
56 |
-
st.write(f'{select_cuisine_sim} is
|
57 |
|
58 |
|
59 |
|
|
|
52 |
|
53 |
with col3:
|
54 |
st.subheader("Similar Cuisines")
|
55 |
+
select_cuisine_sim = st.selectbox('Select a cuisine to view the 10 most similar cuisines by spices',cuisines.keys())
|
56 |
+
st.write(f'{select_cuisine_sim} is most similar to:', cuisine_similarity[select_cuisine_sim].sort_values(ascending=False).index[1:11].to_list())
|
57 |
|
58 |
|
59 |
|