Kaludi commited on
Commit
32a03e0
1 Parent(s): 1a514c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -11,14 +11,14 @@ st.set_page_config(layout='wide',
11
  )
12
 
13
  # Setting up Sidebar
14
- social_acc = ['App Description', 'About Project']
15
- social_acc_nav = st.sidebar.radio('**INFORMATION SECTION**', social_acc)
16
 
17
- if social_acc_nav == 'App Description':
18
  st.sidebar.markdown("<h2 style='text-align: center;'> Food Category Classification Description </h2> ", unsafe_allow_html=True)
19
  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**. 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.")
20
 
21
- elif social_acc_nav == 'About Project':
22
  st.sidebar.markdown("<h2 style='text-align: center;'> About Project </h2>", unsafe_allow_html=True)
23
  st.sidebar.markdown("<hr style='text-align: center;'>", unsafe_allow_html=True)
24
  st.sidebar.markdown("<h3 style='text-align: center;'>Project Location:</h3>", unsafe_allow_html=True)
 
11
  )
12
 
13
  # Setting up Sidebar
14
+ sidebar_acc = ['App Description', 'About Project']
15
+ sidebar_acc_nav = st.sidebar.radio('**INFORMATION SECTION**', sidebar_acc)
16
 
17
+ if sidebar_acc_nav == 'App Description':
18
  st.sidebar.markdown("<h2 style='text-align: center;'> Food Category Classification Description </h2> ", unsafe_allow_html=True)
19
  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**. 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.")
20
 
21
+ elif sidebar_acc_nav == 'About Project':
22
  st.sidebar.markdown("<h2 style='text-align: center;'> About Project </h2>", unsafe_allow_html=True)
23
  st.sidebar.markdown("<hr style='text-align: center;'>", unsafe_allow_html=True)
24
  st.sidebar.markdown("<h3 style='text-align: center;'>Project Location:</h3>", unsafe_allow_html=True)