mackenzietechdocs commited on
Commit
0eca17e
Β·
1 Parent(s): c0b2722

Inject CSS directly into HTML for older Gradio compatibility

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -686,8 +686,11 @@ except TypeError:
686
 
687
  with demo:
688
 
689
- # Header with indigo gradient and glow effect
690
- gr.HTML("""
 
 
 
691
  <div class="header-container">
692
  <h1 class="header-title">πŸš€ Docs Navigator MCP</h1>
693
  <p class="header-subtitle">✨ AI-Powered Documentation Intelligence with Claude ✨</p>
 
686
 
687
  with demo:
688
 
689
+ # Inject CSS and Header with indigo gradient
690
+ gr.HTML(f"""
691
+ <style>
692
+ {custom_css}
693
+ </style>
694
  <div class="header-container">
695
  <h1 class="header-title">πŸš€ Docs Navigator MCP</h1>
696
  <p class="header-subtitle">✨ AI-Powered Documentation Intelligence with Claude ✨</p>