David Driscoll
commited on
Commit
·
73fbe68
1
Parent(s):
ea6f081
Fix green
Browse files
app.py
CHANGED
|
@@ -250,6 +250,12 @@ input, button, .output {
|
|
| 250 |
color: #00ff00;
|
| 251 |
background-color: #1a1a1a;
|
| 252 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
"""
|
| 254 |
|
| 255 |
# -----------------------------
|
|
@@ -325,14 +331,11 @@ tabbed_interface = gr.TabbedInterface(
|
|
| 325 |
# -----------------------------
|
| 326 |
# Wrap in a Blocks Layout and Launch
|
| 327 |
# -----------------------------
|
| 328 |
-
demo = gr.Blocks(css=custom_css)
|
| 329 |
with demo:
|
| 330 |
gr.Markdown("<h1 class='gradio-title'>Multi-Analysis Image App</h1>")
|
| 331 |
gr.Markdown("<p class='gradio-description'>Upload an image to run high-tech analysis for posture, emotions, faces, and facemesh landmarks.</p>")
|
| 332 |
|
| 333 |
-
# We removed the top-row sample images and now rely on
|
| 334 |
-
# the built-in Gradio examples at the bottom of each tab.
|
| 335 |
-
|
| 336 |
tabbed_interface.render()
|
| 337 |
|
| 338 |
if __name__ == "__main__":
|
|
|
|
| 250 |
color: #00ff00;
|
| 251 |
background-color: #1a1a1a;
|
| 252 |
}
|
| 253 |
+
|
| 254 |
+
/* Added higher specificity override for all elements within the gradio container */
|
| 255 |
+
.gradio-container * {
|
| 256 |
+
color: #00ff00 !important;
|
| 257 |
+
text-shadow: 0 0 10px #00ff00 !important;
|
| 258 |
+
}
|
| 259 |
"""
|
| 260 |
|
| 261 |
# -----------------------------
|
|
|
|
| 331 |
# -----------------------------
|
| 332 |
# Wrap in a Blocks Layout and Launch
|
| 333 |
# -----------------------------
|
| 334 |
+
demo = gr.Blocks(css=custom_css, theme=None)
|
| 335 |
with demo:
|
| 336 |
gr.Markdown("<h1 class='gradio-title'>Multi-Analysis Image App</h1>")
|
| 337 |
gr.Markdown("<p class='gradio-description'>Upload an image to run high-tech analysis for posture, emotions, faces, and facemesh landmarks.</p>")
|
| 338 |
|
|
|
|
|
|
|
|
|
|
| 339 |
tabbed_interface.render()
|
| 340 |
|
| 341 |
if __name__ == "__main__":
|