Spaces:
Running
Running
Commit
·
bd99284
1
Parent(s):
b5afdc4
Update: interface font update
Browse files
app.py
CHANGED
@@ -51,15 +51,15 @@ with gr.Blocks() as interface:
|
|
51 |
gr.Markdown("<span style='color:white'>Select a sample image to visualize object detection.</span>")
|
52 |
default_sample = "Sample 1"
|
53 |
|
54 |
-
# Inject CSS with gr.HTML to set the text color to
|
55 |
gr.HTML("""
|
56 |
<style>
|
57 |
body {
|
58 |
background-color: black;
|
59 |
-
color:
|
60 |
}
|
61 |
.gradio-container {
|
62 |
-
color:
|
63 |
}
|
64 |
</style>
|
65 |
""")
|
|
|
51 |
gr.Markdown("<span style='color:white'>Select a sample image to visualize object detection.</span>")
|
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 {
|
58 |
background-color: black;
|
59 |
+
color: white; /* Set text color to white */
|
60 |
}
|
61 |
.gradio-container {
|
62 |
+
color: white; /* Ensure Gradio components also have white text */
|
63 |
}
|
64 |
</style>
|
65 |
""")
|