sachithcheruvaturfynd commited on
Commit
f1bbb67
1 Parent(s): bfdc54b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ if selected_product_id:
65
  image_url = uid_image_html_pairs[selected_product_id]
66
  st.image(image_url, use_column_width=False, width=450) # Set width to make image smaller
67
  items_cost_is = item_costs_sephora_data[str(selected_product_id)]
68
- st.write("Cost of chosen item:",str(items_cost_is) )
69
 
70
 
71
  # Display recommendations for the selected product
@@ -109,7 +109,7 @@ if selected_product_id:
109
  mid_section += f"""<div class="item">
110
  <div id="image-container"><img src='{reccomendation_images[index]}' /></div>
111
  <p style="font-size: 16px; font-weight: bold; white-space: normal; word-wrap: break-word;">{str(reccomendation_names[index])}</p>
112
- <p>Item Price: {reccomendation_costs[index]}</p>
113
  </div>"""
114
  mid_html = html2 + mid_section + """</div></div></body>"""
115
  st.markdown(mid_html, unsafe_allow_html=True)
 
65
  image_url = uid_image_html_pairs[selected_product_id]
66
  st.image(image_url, use_column_width=False, width=450) # Set width to make image smaller
67
  items_cost_is = item_costs_sephora_data[str(selected_product_id)]
68
+ st.write("Product Price:",str(items_cost_is) )
69
 
70
 
71
  # Display recommendations for the selected product
 
109
  mid_section += f"""<div class="item">
110
  <div id="image-container"><img src='{reccomendation_images[index]}' /></div>
111
  <p style="font-size: 16px; font-weight: bold; white-space: normal; word-wrap: break-word;">{str(reccomendation_names[index])}</p>
112
+ <p>Product Price: {reccomendation_costs[index]}</p>
113
  </div>"""
114
  mid_html = html2 + mid_section + """</div></div></body>"""
115
  st.markdown(mid_html, unsafe_allow_html=True)