Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -100,8 +100,8 @@ for district, categories in grouped.items():
|
|
100 |
for category, products in categories.items():
|
101 |
# CORRECTED LINE BELOW:
|
102 |
st.write(f"{category}: {', '.join(products)}")
|
103 |
-
|
104 |
-
|
105 |
|
106 |
# ---------------- ADD DATA PAGE ----------------
|
107 |
elif menu == "Add Data":
|
|
|
100 |
for category, products in categories.items():
|
101 |
# CORRECTED LINE BELOW:
|
102 |
st.write(f"{category}: {', '.join(products)}")
|
103 |
+
else:
|
104 |
+
st.info("No data available. Please add data in 'Add Data' section.")
|
105 |
|
106 |
# ---------------- ADD DATA PAGE ----------------
|
107 |
elif menu == "Add Data":
|