Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ with left_col:
|
|
69 |
with right_col:
|
70 |
st.image(SIDE_IMAGE, width=350)
|
71 |
|
72 |
-
# CSS styling
|
73 |
st.markdown("""
|
74 |
<style>
|
75 |
.stApp {
|
@@ -84,13 +84,38 @@ st.markdown("""
|
|
84 |
color: black !important;
|
85 |
background-color: yellow !important;
|
86 |
}
|
87 |
-
.
|
88 |
-
border-radius:
|
89 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
</style>
|
92 |
""", unsafe_allow_html=True)
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
st.markdown("""
|
95 |
Please provide complete details about the issue, including:
|
96 |
- Detailed description of plant problem
|
|
|
69 |
with right_col:
|
70 |
st.image(SIDE_IMAGE, width=350)
|
71 |
|
72 |
+
# Add custom CSS for image styling
|
73 |
st.markdown("""
|
74 |
<style>
|
75 |
.stApp {
|
|
|
84 |
color: black !important;
|
85 |
background-color: yellow !important;
|
86 |
}
|
87 |
+
.custom-image {
|
88 |
+
border-radius: 15px;
|
89 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
90 |
+
margin: 10px 0;
|
91 |
+
transition: transform 0.3s ease;
|
92 |
+
}
|
93 |
+
.custom-image:hover {
|
94 |
+
transform: scale(1.02);
|
95 |
}
|
96 |
</style>
|
97 |
""", unsafe_allow_html=True)
|
98 |
|
99 |
+
# Add header image with custom styling
|
100 |
+
st.image(HEADER_IMAGE, use_column_width=True, output_format="JPEG", clamp=True)
|
101 |
+
|
102 |
+
# Create main layout with columns for better organization
|
103 |
+
col1, col2 = st.columns([3, 1])
|
104 |
+
|
105 |
+
with col1:
|
106 |
+
st.title("🌿 Dr. Radha: AI-Powered Organic Farming Consultant")
|
107 |
+
st.subheader("Specializing in Agro-Homeopathy | Free Consultation")
|
108 |
+
|
109 |
+
with col2:
|
110 |
+
st.image(SIDE_IMAGE, caption="Medicinal Herbs", width=200)
|
111 |
+
|
112 |
+
# Add information section with decorative middle image
|
113 |
+
st.markdown("---")
|
114 |
+
col1, col2, col3 = st.columns([1, 2, 1])
|
115 |
+
with col2:
|
116 |
+
st.image(FOOTER_IMAGE, caption="Organic Solutions", width=300)
|
117 |
+
|
118 |
+
|
119 |
st.markdown("""
|
120 |
Please provide complete details about the issue, including:
|
121 |
- Detailed description of plant problem
|