VibecoderMcSwaggins commited on
Commit
b4820c9
·
1 Parent(s): 97731f3

fix: remove css param not supported by ChatInterface

Browse files
Files changed (1) hide show
  1. src/app.py +0 -8
src/app.py CHANGED
@@ -194,13 +194,6 @@ def create_demo() -> gr.ChatInterface:
194
  Returns:
195
  Configured Gradio Blocks interface with MCP server enabled
196
  """
197
- # Custom CSS to center header
198
- custom_css = """
199
- .title-container { text-align: center !important; }
200
- h1 { text-align: center !important; }
201
- .description { text-align: center !important; }
202
- """
203
-
204
  # 1. Unwrapped ChatInterface (Fixes Accordion Bug)
205
  demo = gr.ChatInterface(
206
  fn=research_agent,
@@ -214,7 +207,6 @@ def create_demo() -> gr.ChatInterface:
214
  "*Research tool only — not for medical advice.* \n"
215
  "**MCP Server Active**: Connect Claude Desktop to `/gradio_api/mcp/`"
216
  ),
217
- css=custom_css,
218
  examples=[
219
  [
220
  "What drugs improve female libido post-menopause?",
 
194
  Returns:
195
  Configured Gradio Blocks interface with MCP server enabled
196
  """
 
 
 
 
 
 
 
197
  # 1. Unwrapped ChatInterface (Fixes Accordion Bug)
198
  demo = gr.ChatInterface(
199
  fn=research_agent,
 
207
  "*Research tool only — not for medical advice.* \n"
208
  "**MCP Server Active**: Connect Claude Desktop to `/gradio_api/mcp/`"
209
  ),
 
210
  examples=[
211
  [
212
  "What drugs improve female libido post-menopause?",