import streamlit as st def app(): st.subheader('This is a website created for users to:') st.subheader('Detect disease of the plants and provide measure against it') st.markdown('Tomato cultivation plays a crucial role in global agriculture, but its productivity is often threatened by various diseases. Early detection of these diseases is essential for timely intervention and mitigation. his study proposes an automated approach for the detection of tomato plant diseases using machine learning techniques. Firstly, a comprehensive dataset comprising images of healthy tomato plants and plants infected with common diseases such as early blight, late blight, and leaf mold is compiled. Preprocessing techniques including image enhancement and augmentation are applied to improve the quality and diversity of the dataset. Subsequently, a convolutional neural network (CNN) architecture is designed and trained on the dataset to classify the images into healthy or diseased categories. The performance of the proposed model is evaluated using various metrics such as accuracy, precision, recall, and F1-score. Additionally, transfer learning techniques are explored to enhance the model performance with limited training data. Experimental results demonstrate the effectiveness of the proposed approach in accurately identifying tomato plant diseases, thus providing a valuable tool for farmers and agricultural experts to monitor and manage crop health efficiently. This research contributes to the advancement of precision agriculture and promotes sustainable farming practices by facilitating early disease detection and intervention in tomato cultivation.') st.subheader('Detect disease of the plants and provide measure against it') st.markdown('CREATED BY: Parth, Mansi, Sabah') st.markdown('Contact via mail: [jaiswalparth32@gmail.com]')