Spaces:
Sleeping
Sleeping
Commit
Β·
0eca17e
1
Parent(s):
c0b2722
Inject CSS directly into HTML for older Gradio compatibility
Browse files
app.py
CHANGED
|
@@ -686,8 +686,11 @@ except TypeError:
|
|
| 686 |
|
| 687 |
with demo:
|
| 688 |
|
| 689 |
-
# Header with indigo gradient
|
| 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>
|