Spaces:
Sleeping
Sleeping
Commit
·
5ce8a01
1
Parent(s):
d477b94
Update: interface font update
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ with gr.Blocks() as interface:
|
|
| 51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
| 52 |
default_sample = "Sample 1"
|
| 53 |
|
| 54 |
-
# Inject CSS with gr.HTML to set the
|
| 55 |
gr.HTML("""
|
| 56 |
<style>
|
| 57 |
body {
|
|
@@ -61,6 +61,9 @@ with gr.Blocks() as interface:
|
|
| 61 |
.gradio-container {
|
| 62 |
color: white; /* Ensure Gradio components also have white text */
|
| 63 |
}
|
|
|
|
|
|
|
|
|
|
| 64 |
</style>
|
| 65 |
""")
|
| 66 |
|
|
|
|
| 51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
| 52 |
default_sample = "Sample 1"
|
| 53 |
|
| 54 |
+
# Inject CSS with gr.HTML to set the text color to white
|
| 55 |
gr.HTML("""
|
| 56 |
<style>
|
| 57 |
body {
|
|
|
|
| 61 |
.gradio-container {
|
| 62 |
color: white; /* Ensure Gradio components also have white text */
|
| 63 |
}
|
| 64 |
+
h1, h2, h3, h4, h5, h6, p, label {
|
| 65 |
+
color: white; /* Make all headings and labels white */
|
| 66 |
+
}
|
| 67 |
</style>
|
| 68 |
""")
|
| 69 |
|