Updated app.py
Browse files
app.py
CHANGED
|
@@ -67,12 +67,8 @@ if file is not None:
|
|
| 67 |
images_dir = os.path.join(base_dir, "images") # Construct the images folder path
|
| 68 |
|
| 69 |
for i, idx in enumerate(indices[0]):
|
| 70 |
-
|
| 71 |
-
product_filename = filenames[idx]
|
| 72 |
st.write(product_filename)
|
| 73 |
-
product_path = os.path.join(images_dir, product_filename)
|
| 74 |
-
|
| 75 |
-
st.write(product_path)
|
| 76 |
product_image = Image.open(product_path)
|
| 77 |
|
| 78 |
# Assign columns dynamically
|
|
|
|
| 67 |
images_dir = os.path.join(base_dir, "images") # Construct the images folder path
|
| 68 |
|
| 69 |
for i, idx in enumerate(indices[0]):
|
| 70 |
+
product_path = filenames[idx]
|
|
|
|
| 71 |
st.write(product_filename)
|
|
|
|
|
|
|
|
|
|
| 72 |
product_image = Image.open(product_path)
|
| 73 |
|
| 74 |
# Assign columns dynamically
|