Update final.py
Browse files
final.py
CHANGED
|
@@ -36,8 +36,8 @@ def predict_disease(image):
|
|
| 36 |
|
| 37 |
# App UI logic
|
| 38 |
def coconut_disease_app():
|
| 39 |
-
st.title("🌴
|
| 40 |
-
st.markdown("Upload a **
|
| 41 |
|
| 42 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
| 43 |
|
|
@@ -54,7 +54,7 @@ def coconut_disease_app():
|
|
| 54 |
|
| 55 |
# Main layout with sidebar UI
|
| 56 |
def main():
|
| 57 |
-
st.set_page_config(page_title="
|
| 58 |
|
| 59 |
with st.sidebar:
|
| 60 |
st.markdown(
|
|
@@ -97,7 +97,7 @@ def main():
|
|
| 97 |
|
| 98 |
selected = option_menu.option_menu(
|
| 99 |
menu_title='AgriTech Tool',
|
| 100 |
-
options=["
|
| 101 |
default_index=0,
|
| 102 |
styles={
|
| 103 |
'container': {'padding': '5!important', 'background-color': 'black'},
|
|
|
|
| 36 |
|
| 37 |
# App UI logic
|
| 38 |
def coconut_disease_app():
|
| 39 |
+
st.title("🌴 Plam Leaf Disease Prediction")
|
| 40 |
+
st.markdown("Upload a **Plam leaf image** to identify the disease using a VGG16-based deep learning model.")
|
| 41 |
|
| 42 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
| 43 |
|
|
|
|
| 54 |
|
| 55 |
# Main layout with sidebar UI
|
| 56 |
def main():
|
| 57 |
+
st.set_page_config(page_title="Plam Leaf Disease Detection", layout="wide")
|
| 58 |
|
| 59 |
with st.sidebar:
|
| 60 |
st.markdown(
|
|
|
|
| 97 |
|
| 98 |
selected = option_menu.option_menu(
|
| 99 |
menu_title='AgriTech Tool',
|
| 100 |
+
options=["Plam Leaf Disease"],
|
| 101 |
default_index=0,
|
| 102 |
styles={
|
| 103 |
'container': {'padding': '5!important', 'background-color': 'black'},
|