OmPrakashSingh1704 commited on
Commit
bdb8f99
1 Parent(s): 84a0eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def show_recipe(recipe):
42
  with col01:
43
  cont = st.container(border=True, height=500)
44
  for j,i in enumerate(recipe["ingredients"]):
45
- cont.selectbox(i['name'],options=items_dict.iloc[get_recommendations(i['name'],cv,vectors)]["PRODUCT_NAME"].values,key=f"selectbox_{idx}_{i['name']}")
46
  with col02:
47
  cont = st.container(border=True, height=500)
48
  cont.write(instructions)
 
42
  with col01:
43
  cont = st.container(border=True, height=500)
44
  for j,i in enumerate(recipe["ingredients"]):
45
+ cont.selectbox(i['name'],options=items_dict.iloc[get_recommendations(i['name'],cv,vectors)]["PRODUCT_NAME"].values,key=f"selectbox_{j}_{i['name']}")
46
  with col02:
47
  cont = st.container(border=True, height=500)
48
  cont.write(instructions)