Senasu commited on
Commit
2d811c7
·
verified ·
1 Parent(s): 30df0be
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,8 +65,8 @@ if file is not None:
65
  cols = st.columns(3) # 3 images per row
66
 
67
  for i, idx in enumerate(indices[0]):
68
- product_path = filenames[idx]
69
- product_path = product_path.replace("\\", "\")
70
  st.write(product_path)
71
  product_image = Image.open(product_path)
72
 
 
65
  cols = st.columns(3) # 3 images per row
66
 
67
  for i, idx in enumerate(indices[0]):
68
+ product_path = os.path.join('images', filenames[idx])
69
+
70
  st.write(product_path)
71
  product_image = Image.open(product_path)
72