Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,6 @@ if file is not None:
|
|
| 63 |
|
| 64 |
# Display recommendations in a grid layout
|
| 65 |
cols = st.columns(3) # 3 images per row
|
| 66 |
-
base_dir = os.path.dirname(__file__) # Get the directory of the current script
|
| 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]
|
|
|
|
| 63 |
|
| 64 |
# Display recommendations in a grid layout
|
| 65 |
cols = st.columns(3) # 3 images per row
|
|
|
|
|
|
|
| 66 |
|
| 67 |
for i, idx in enumerate(indices[0]):
|
| 68 |
product_path = filenames[idx]
|