Spaces:
Sleeping
Sleeping
Rajan Sharma
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,7 +234,7 @@ def chat_fn(message, history, user_tz):
|
|
| 234 |
|
| 235 |
|
| 236 |
# -------------------
|
| 237 |
-
# THEME & STYLES (compatible with
|
| 238 |
# -------------------
|
| 239 |
theme = gr.themes.Soft(
|
| 240 |
primary_hue="teal",
|
|
@@ -268,7 +268,7 @@ h1, .prose h1 {
|
|
| 268 |
font-weight: 700;
|
| 269 |
letter-spacing: -0.01em;
|
| 270 |
margin-bottom: 0.25rem !important;
|
| 271 |
-
font-size: 28px !important; /* set via CSS for
|
| 272 |
}
|
| 273 |
|
| 274 |
/* Chat body text */
|
|
@@ -388,7 +388,6 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
|
|
| 388 |
["What are the warning signs of diabetes?", ""],
|
| 389 |
],
|
| 390 |
cache_examples=True,
|
| 391 |
-
elem_id="chat-root",
|
| 392 |
)
|
| 393 |
|
| 394 |
if __name__ == "__main__":
|
|
|
|
| 234 |
|
| 235 |
|
| 236 |
# -------------------
|
| 237 |
+
# THEME & STYLES (compatible with your Gradio)
|
| 238 |
# -------------------
|
| 239 |
theme = gr.themes.Soft(
|
| 240 |
primary_hue="teal",
|
|
|
|
| 268 |
font-weight: 700;
|
| 269 |
letter-spacing: -0.01em;
|
| 270 |
margin-bottom: 0.25rem !important;
|
| 271 |
+
font-size: 28px !important; /* set via CSS for compatibility */
|
| 272 |
}
|
| 273 |
|
| 274 |
/* Chat body text */
|
|
|
|
| 388 |
["What are the warning signs of diabetes?", ""],
|
| 389 |
],
|
| 390 |
cache_examples=True,
|
|
|
|
| 391 |
)
|
| 392 |
|
| 393 |
if __name__ == "__main__":
|