Spaces:
Sleeping
Sleeping
Commit
·
61808ed
1
Parent(s):
762717a
Update: font styling
Browse files
app.py
CHANGED
@@ -47,25 +47,25 @@ def process_image(sample_choice, uploaded_image, yolo_versions=["yolov5"]):
|
|
47 |
return result_images
|
48 |
|
49 |
with gr.Blocks() as interface:
|
50 |
-
# Update CSS to make text
|
51 |
gr.HTML("""
|
52 |
<style>
|
53 |
body {
|
54 |
background-color: black;
|
55 |
-
color:
|
56 |
}
|
57 |
.gradio-container {
|
58 |
-
color:
|
59 |
}
|
60 |
h1, h2, h3, h4, h5, h6, p, label {
|
61 |
-
color:
|
62 |
}
|
63 |
.gr-markdown {
|
64 |
-
color:
|
65 |
}
|
66 |
.gr-button {
|
67 |
background-color: #007bff; /* Optional: Change button background color */
|
68 |
-
color:
|
69 |
}
|
70 |
.gr-button:hover {
|
71 |
background-color: #0056b3; /* Optional: Change button hover color */
|
|
|
47 |
return result_images
|
48 |
|
49 |
with gr.Blocks() as interface:
|
50 |
+
# Update CSS to make text light grey
|
51 |
gr.HTML("""
|
52 |
<style>
|
53 |
body {
|
54 |
background-color: black;
|
55 |
+
color: #D3D3D3; /* Set the default text color to light grey */
|
56 |
}
|
57 |
.gradio-container {
|
58 |
+
color: #D3D3D3; /* Ensure Gradio components also have light grey text */
|
59 |
}
|
60 |
h1, h2, h3, h4, h5, h6, p, label {
|
61 |
+
color: #D3D3D3; /* Make all headings and labels light grey */
|
62 |
}
|
63 |
.gr-markdown {
|
64 |
+
color: #D3D3D3; /* Ensure Markdown text is light grey */
|
65 |
}
|
66 |
.gr-button {
|
67 |
background-color: #007bff; /* Optional: Change button background color */
|
68 |
+
color: #D3D3D3; /* Ensure button text is light grey */
|
69 |
}
|
70 |
.gr-button:hover {
|
71 |
background-color: #0056b3; /* Optional: Change button hover color */
|