Spaces:
Sleeping
Sleeping
Update dataset_viz.py
Browse files- dataset_viz.py +1 -1
dataset_viz.py
CHANGED
|
@@ -45,6 +45,6 @@ def show_sample_images_page():
|
|
| 45 |
img_path = os.path.join(emotion_path, img_file)
|
| 46 |
try:
|
| 47 |
image = Image.open(img_path)
|
| 48 |
-
cols[i % len(cols)].image(image,
|
| 49 |
except Exception as e:
|
| 50 |
st.error(f"Failed to load {img_path}: {e}")
|
|
|
|
| 45 |
img_path = os.path.join(emotion_path, img_file)
|
| 46 |
try:
|
| 47 |
image = Image.open(img_path)
|
| 48 |
+
cols[i % len(cols)].image(image, caption=img_file)
|
| 49 |
except Exception as e:
|
| 50 |
st.error(f"Failed to load {img_path}: {e}")
|