Spaces:
Sleeping
Sleeping
Commit
·
39af6cb
1
Parent(s):
8bec0f2
Update: font styling
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks() as interface:
|
|
55 |
color: #FFFFFF; /* Set the default text color to white */
|
56 |
}
|
57 |
.gradio-container {
|
58 |
-
color: #
|
59 |
}
|
60 |
h1, h2, h3, h4, h5, h6, p, label {
|
61 |
color: #FFFFFF !important; /* Force all headings, paragraphs, and labels to white */
|
@@ -116,7 +116,7 @@ with gr.Blocks() as interface:
|
|
116 |
value=default_sample, # Set default selection
|
117 |
)
|
118 |
# Upload image below sample selection
|
119 |
-
gr.Markdown("<
|
120 |
upload_image = gr.Image(
|
121 |
label="Upload an Image",
|
122 |
type="pil", # Correct type for file path compatibility
|
|
|
55 |
color: #FFFFFF; /* Set the default text color to white */
|
56 |
}
|
57 |
.gradio-container {
|
58 |
+
color: #D3D3D3; /* Ensure Gradio components also have white text */
|
59 |
}
|
60 |
h1, h2, h3, h4, h5, h6, p, label {
|
61 |
color: #FFFFFF !important; /* Force all headings, paragraphs, and labels to white */
|
|
|
116 |
value=default_sample, # Set default selection
|
117 |
)
|
118 |
# Upload image below sample selection
|
119 |
+
gr.Markdown("<h2 style='color: #FFFFFF>Or upload your own image:</h2>")
|
120 |
upload_image = gr.Image(
|
121 |
label="Upload an Image",
|
122 |
type="pil", # Correct type for file path compatibility
|