test / streamlit_app.py
Dokkone's picture
Create streamlit_app.py
1cea9a2 verified
import streamlit as st
st.set_page_config(
page_title="Rice Disease Classifier 🌾",
page_icon="πŸ‘‹",
)
st.title("Rice Disease Classification App 🍚")
st.write("*Project by Omdena Laguna, Philippines Chapter*")
st.write("**Chapter Lead:** [Signour Melo](https://www.linkedin.com/in/signour-sigmeund-melo-63aa791aa/)")
st.image("pages/RiceDiseaseClassifier.jpeg", caption='', width=450)
st.header("How does this app work? βš™")
st.write("""
Once you upload the image of your rice plant using any one of our models,
they further check the diseased areas and classify the type of disease.
They also provide information & solutions based on the resulting disease.
""")
st.subheader("How to use this app? πŸ€”")
st.markdown("""
1. Select any one model from the sidebar
2. Upload the image of your rice plant 🌾 & wait for a few seconds
3. The model shows the type of disease the plant suffers from.
- Choose the second model to know more about the disease & suggested solutions that help prevent them.
""")
st.sidebar.info("Please select a page above πŸ‘†")
st.sidebar.write("""
### πŸ“Œ Background
Rice is the heart of Filipino cuisine, an ingredient so fundamental to the country’s food culture that it is eaten at every meal, from breakfast to dinner.
It’s served at every meal with almost every dish as well as plays an important role in Filipino celebrations and rituals.
### πŸ‘€ The Problem
Rice diseases are a major concern where a variety of fungal, bacterial, & viral diseases can infect rice plants, causing reduced yield,
lower quality, and even total crop loss.These diseases can be devastating to farmers, especially those with limited resources.
*Read more about it [here](https://www.omdena.com/projects/creating-a-rice-disease-classifier-using-open-source-data-and-computer-vision)*
""")
st.sidebar.image("pages/laguna_chapter.png", width=250)