Update app.py
Browse files
app.py
CHANGED
|
@@ -295,6 +295,28 @@ CSS_STYLES = """
|
|
| 295 |
color: rgba(0, 0, 0, 0.85) !important;
|
| 296 |
}
|
| 297 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
"""
|
| 299 |
|
| 300 |
# Build each tab interface using modular builders
|
|
@@ -337,7 +359,7 @@ _tab_names = [
|
|
| 337 |
"Deep Research",
|
| 338 |
]
|
| 339 |
|
| 340 |
-
with gr.Blocks(title="Nymbo/Tools MCP"
|
| 341 |
# Title and information panel unchanged to preserve UI
|
| 342 |
gr.HTML("<h1 class='app-title'>Nymbo/Tools MCP</h1>")
|
| 343 |
|
|
@@ -442,4 +464,4 @@ python app.py</code></pre>
|
|
| 442 |
gr.TabbedInterface(interface_list=_interfaces, tab_names=_tab_names)
|
| 443 |
|
| 444 |
if __name__ == "__main__":
|
| 445 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 295 |
color: rgba(0, 0, 0, 0.85) !important;
|
| 296 |
}
|
| 297 |
}
|
| 298 |
+
|
| 299 |
+
/* Hide scrollbars/arrows that can appear on the description block in some browsers */
|
| 300 |
+
article.prose, .prose, .gr-prose {
|
| 301 |
+
overflow: visible !important;
|
| 302 |
+
max-height: none !important;
|
| 303 |
+
-ms-overflow-style: none !important; /* IE/Edge */
|
| 304 |
+
scrollbar-width: none !important; /* Firefox */
|
| 305 |
+
}
|
| 306 |
+
article.prose::-webkit-scrollbar,
|
| 307 |
+
.prose::-webkit-scrollbar,
|
| 308 |
+
.gr-prose::-webkit-scrollbar {
|
| 309 |
+
display: none !important; /* Chrome/Safari */
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
/* Fix for white background on single-line inputs in dark mode */
|
| 313 |
+
.gradio-container input[type="text"],
|
| 314 |
+
.gradio-container input[type="password"],
|
| 315 |
+
.gradio-container input[type="number"],
|
| 316 |
+
.gradio-container input[type="email"] {
|
| 317 |
+
background-color: var(--input-background-fill) !important;
|
| 318 |
+
color: var(--body-text-color) !important;
|
| 319 |
+
}
|
| 320 |
"""
|
| 321 |
|
| 322 |
# Build each tab interface using modular builders
|
|
|
|
| 359 |
"Deep Research",
|
| 360 |
]
|
| 361 |
|
| 362 |
+
with gr.Blocks(title="Nymbo/Tools MCP") as demo:
|
| 363 |
# Title and information panel unchanged to preserve UI
|
| 364 |
gr.HTML("<h1 class='app-title'>Nymbo/Tools MCP</h1>")
|
| 365 |
|
|
|
|
| 464 |
gr.TabbedInterface(interface_list=_interfaces, tab_names=_tab_names)
|
| 465 |
|
| 466 |
if __name__ == "__main__":
|
| 467 |
+
demo.launch(mcp_server=True, theme="Nymbo/Nymbo_Theme", css=CSS_STYLES)
|