From 3418324060bbb84ef7aae66635b9b7b1e4f1cade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2?= Date: Sat, 2 Aug 2025 12:10:08 +0200 Subject: [PATCH] final changes to the ui --- app.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app.py b/app.py index da098641c..032d59cae 100644 --- a/app.py +++ b/app.py @@ -69,7 +69,6 @@ elif plant_input_mode == "Upload image": col1, col2 = st.columns(2) with col1: - st.markdown("

Environmental Parameters

", unsafe_allow_html=True) st.markdown("

Environmental Parameters

", unsafe_allow_html=True) soil_options = ["Sandy", "Clay", "Loamy", "Peaty", "Chalky", "Silty"] @@ -78,7 +77,6 @@ with col1: water_frequency = st.slider("Water Frequency (times per week)", 0, 14, 3) with col2: - st.markdown("---") st.markdown("---") fertilizer_options = ["Organic", "Chemical", "None"] @@ -87,10 +85,6 @@ with col2: humidity = st.slider("Humidity (%)", 0, 100, 60) days = st.slider("Prediction Interval (in days)", min_value=1, max_value=30, value=7) - -days = st.slider("Prediction Interval (in days)", min_value=1, max_value=30, value=7) - -additional_info = st.text_area("Feel free to include any additional detail", "- e.g. 'I'm adding compost to the soil.'", height=100) additional_info = st.text_area("Feel free to include any additional detail", "- e.g. 'I'm adding compost to the soil.'", height=100) @@ -116,15 +110,6 @@ if plant_type and plant_type.strip() != "": manipulated_img = generate_image(plant_type, description, plant_age) st.image(manipulated_img, caption="Predicted Plant Condition Image") - -# else: -# st.warning("Please select or enter a plant type.") - manipulated_img = generate_image(plant_type, description, plant_age) - st.image(manipulated_img, caption="Predicted Plant Condition Image") - -# else: -# st.warning("Please select or enter a plant type.") - st.markdown("---")