Maia Pelletier commited on
Commit ·
2b094c5
1
Parent(s): efd13db
add custom CSS
Browse files
app.py
CHANGED
|
@@ -79,9 +79,6 @@ class MinimalistTheme(Base):
|
|
| 79 |
input_border_width="1px",
|
| 80 |
input_border_color="#d1d5db",
|
| 81 |
input_border_color_dark="#374151",
|
| 82 |
-
input_text_color="#1e1e1e",
|
| 83 |
-
input_text_color_dark="#1e1e1e",
|
| 84 |
-
input_placeholder_color="#9ca3af",
|
| 85 |
|
| 86 |
# Text colors
|
| 87 |
body_text_color="#1e1e1e",
|
|
@@ -392,7 +389,13 @@ chatbot = RAGChatbot()
|
|
| 392 |
|
| 393 |
|
| 394 |
# Create Gradio interface
|
| 395 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
gr.Markdown("<h1 style='color: #24372b; font-size: 2.5rem;'>👤 Ask AgriWise AI</h1>")
|
| 397 |
|
| 398 |
|
|
|
|
| 79 |
input_border_width="1px",
|
| 80 |
input_border_color="#d1d5db",
|
| 81 |
input_border_color_dark="#374151",
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
# Text colors
|
| 84 |
body_text_color="#1e1e1e",
|
|
|
|
| 389 |
|
| 390 |
|
| 391 |
# Create Gradio interface
|
| 392 |
+
custom_css = """
|
| 393 |
+
.gradio-container textarea {
|
| 394 |
+
color: #1e1e1e !important;
|
| 395 |
+
}
|
| 396 |
+
"""
|
| 397 |
+
|
| 398 |
+
with gr.Blocks(title="Ask AgriWise AI", css=custom_css) as app:
|
| 399 |
gr.Markdown("<h1 style='color: #24372b; font-size: 2.5rem;'>👤 Ask AgriWise AI</h1>")
|
| 400 |
|
| 401 |
|