Spaces:
Sleeping
Sleeping
Commit
·
6a55d2e
1
Parent(s):
b5b56dc
Update: interface update
Browse files
app.py
CHANGED
@@ -51,12 +51,15 @@ 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
|
55 |
gr.HTML("""
|
56 |
<style>
|
57 |
body {
|
58 |
background-color: black;
|
59 |
-
color: white;
|
|
|
|
|
|
|
60 |
}
|
61 |
</style>
|
62 |
""")
|
|
|
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 {
|
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 |
""")
|