Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ sidebar_acc_nav = st.sidebar.radio('**INFORMATION SECTION**', sidebar_acc)
|
|
23 |
|
24 |
if sidebar_acc_nav == 'App Description':
|
25 |
st.sidebar.markdown("<h2 style='text-align: center;'> Food Category Classification Description </h2> ", unsafe_allow_html=True)
|
26 |
-
st.sidebar.markdown("This is a Food Category Image Classifier model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize **12** different categories of foods, which includes **Bread**, **Dairy**, **Dessert**, **Egg**, **Fried Food**, **Fruit**, **Meat**, **Noodles**, **Rice**, **Seafood**, **Soup**, and **Vegetable**.
|
27 |
|
28 |
elif sidebar_acc_nav == 'About Project':
|
29 |
st.sidebar.markdown("<h2 style='text-align: center;'> About Project </h2>", unsafe_allow_html=True)
|
@@ -40,9 +40,7 @@ elif sidebar_acc_nav == 'About Project':
|
|
40 |
|
41 |
def main():
|
42 |
st.title("Food Category Classification & Recipes")
|
43 |
-
|
44 |
-
st.markdown("### Backgroud")
|
45 |
-
st.markdown("This is a Food Category Image Classifier model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize **12** different categories of foods, which includes **Bread**, **Dairy**, **Dessert**, **Egg**, **Fried Food**, **Fruit**, **Meat**, **Noodles**, **Rice**, **Seafood**, **Soup**, and **Vegetable**. It can accurately classify an image of food into one of these categories by analyzing its visual features. This model can be used by food bloggers, restaurants, and recipe websites to quickly categorize and sort their food images, making it easier to manage their content and provide a better user experience.")
|
46 |
st.header("Try it out!")
|
47 |
|
48 |
if st.checkbox("Show/Hide Examples"):
|
|
|
23 |
|
24 |
if sidebar_acc_nav == 'App Description':
|
25 |
st.sidebar.markdown("<h2 style='text-align: center;'> Food Category Classification Description </h2> ", unsafe_allow_html=True)
|
26 |
+
st.sidebar.markdown("This app is using a Food Category Image Classifier model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize **12** different categories of foods, which includes **Bread**, **Dairy**, **Dessert**, **Egg**, **Fried Food**, **Fruit**, **Meat**, **Noodles**, **Rice**, **Seafood**, **Soup**, and **Vegetable**. After classifying the category, it provides a personalized recipe recommendations based on user preferences for diet and cuisine. With its easy-to-use interface and integration with recipe databases, the app is perfect for food lovers looking for personalized recipe suggestions.")
|
27 |
|
28 |
elif sidebar_acc_nav == 'About Project':
|
29 |
st.sidebar.markdown("<h2 style='text-align: center;'> About Project </h2>", unsafe_allow_html=True)
|
|
|
40 |
|
41 |
def main():
|
42 |
st.title("Food Category Classification & Recipes")
|
43 |
+
st.markdown("This app is using a Food Category Image Classifier model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize **12** different categories of foods, which includes **Bread**, **Dairy**, **Dessert**, **Egg**, **Fried Food**, **Fruit**, **Meat**, **Noodles**, **Rice**, **Seafood**, **Soup**, and **Vegetable**. After classifying the category, it provides a personalized recipe recommendations based on user preferences for diet and cuisine. With its easy-to-use interface and integration with recipe databases, the app is perfect for food lovers looking for personalized recipe suggestions.")
|
|
|
|
|
44 |
st.header("Try it out!")
|
45 |
|
46 |
if st.checkbox("Show/Hide Examples"):
|