Rajan Sharma commited on
Commit
14ffd69
·
verified ·
1 Parent(s): 443d105

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -234,7 +234,7 @@ def chat_fn(message, history, user_tz):
234
 
235
 
236
  # -------------------
237
- # THEME & STYLES (compatible with broader Gradio versions)
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 version compatibility */
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__":