Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -222,13 +222,8 @@ def main():
|
|
222 |
st.session_state.language = language_option
|
223 |
plant_type = st.sidebar.selectbox("Select Plant Type", options=['sugarcane', 'maize', 'cotton', 'rice', 'wheat'])
|
224 |
uploaded_file = st.sidebar.file_uploader("Upload a plant image...", type=["jpg", "jpeg", "png"])
|
225 |
-
|
226 |
-
|
227 |
-
with col1:
|
228 |
-
st.image("https://via.placeholder.com/150.png?text=Plant", caption=translate_text("Plant Health"), use_container_width=True)
|
229 |
-
with col2:
|
230 |
-
st.title(translate_text("Krushi Mitra"))
|
231 |
-
st.write(translate_text("Plant Disease Classification and Pesticide Recommendation.\n\nUpload an image, select plant type, and click on Classify."))
|
232 |
|
233 |
if uploaded_file is not None:
|
234 |
st.markdown("---")
|
|
|
222 |
st.session_state.language = language_option
|
223 |
plant_type = st.sidebar.selectbox("Select Plant Type", options=['sugarcane', 'maize', 'cotton', 'rice', 'wheat'])
|
224 |
uploaded_file = st.sidebar.file_uploader("Upload a plant image...", type=["jpg", "jpeg", "png"])
|
225 |
+
st.title(translate_text("Krushi Mitra"))
|
226 |
+
st.write(translate_text("Plant Disease Classification and Pesticide Recommendation.\n\nUpload an image, select plant type, and click on Classify."))
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
if uploaded_file is not None:
|
229 |
st.markdown("---")
|