pattern / Home.py
azaher1215
final report additions
05b9293
raw
history blame
857 Bytes
import streamlit as st
from utils.layout import set_custom_page_config, render_header
with open("assets/css/styles.css") as f:
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
set_custom_page_config()
render_header()
st.markdown("""
<div class="about-box">
This tool leverages AI to assist in:<br>
- Classifying images of vegetables and fruits.<br>
- Detecting their variations (cut, whole, sliced).<br>
- Recommending recipes based on natural language input.<br>
</div>
### Use the left sidebar to navigate between:
- Task A: Classification - upload an image of a vegetable or fruit to classify it.
- Task B: Variation Detection - upload an image of a vegetable or fruit to detect its variation.
- NLP Recipe Recommendation - enter a search query to recommend a recipe.
""", unsafe_allow_html=True)