Spaces:
Sleeping
Sleeping
Commit
·
f23cf7f
1
Parent(s):
f78eb01
done
Browse files
app.py
CHANGED
|
@@ -81,18 +81,6 @@ with st.sidebar:
|
|
| 81 |
st.markdown("---")
|
| 82 |
st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)
|
| 83 |
|
| 84 |
-
# Define sample images with correct paths
|
| 85 |
-
sample_images = {
|
| 86 |
-
"Pizza": "sample_images/pizza.jpg",
|
| 87 |
-
"Salad": "sample_images/salad.jpg",
|
| 88 |
-
# Add more sample images as needed
|
| 89 |
-
}
|
| 90 |
-
|
| 91 |
-
# Ensure sample images exist
|
| 92 |
-
for name, path in sample_images.items():
|
| 93 |
-
if not os.path.exists(path):
|
| 94 |
-
st.warning(f"Sample image '{path}' for '{name}' not found.")
|
| 95 |
-
|
| 96 |
# Create columns for sample image buttons
|
| 97 |
cols = st.columns(len(sample_images))
|
| 98 |
for idx, (name, file_path) in enumerate(sample_images.items()):
|
|
|
|
| 81 |
st.markdown("---")
|
| 82 |
st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
# Create columns for sample image buttons
|
| 85 |
cols = st.columns(len(sample_images))
|
| 86 |
for idx, (name, file_path) in enumerate(sample_images.items()):
|