black page
Browse files
app.py
CHANGED
@@ -229,6 +229,48 @@ CUSTOM_CSS = """
|
|
229 |
.gradio-container textarea::placeholder {
|
230 |
color: #888888 !important;
|
231 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
"""
|
233 |
|
234 |
def on_mode_dropdown_change(selected_mode):
|
|
|
229 |
.gradio-container textarea::placeholder {
|
230 |
color: #888888 !important;
|
231 |
}
|
232 |
+
/* Previous CSS remains the same */
|
233 |
+
|
234 |
+
/* Accordion specific styles */
|
235 |
+
.gradio-container .gr-accordion {
|
236 |
+
background-color: #1a1a1a !important;
|
237 |
+
border: 1px solid #333 !important;
|
238 |
+
}
|
239 |
+
|
240 |
+
.gradio-container .gr-accordion-text {
|
241 |
+
color: #ffffff !important;
|
242 |
+
}
|
243 |
+
|
244 |
+
/* Target accordion header */
|
245 |
+
.gradio-container .gr-accordion > div[role="button"] {
|
246 |
+
background-color: #1a1a1a !important;
|
247 |
+
color: #ffffff !important;
|
248 |
+
}
|
249 |
+
|
250 |
+
/* Target accordion content */
|
251 |
+
.gradio-container .gr-accordion-content {
|
252 |
+
background-color: #1a1a1a !important;
|
253 |
+
color: #ffffff !important;
|
254 |
+
}
|
255 |
+
|
256 |
+
/* Make sure markdown text inside accordion is white */
|
257 |
+
.gradio-container .gr-accordion-content p,
|
258 |
+
.gradio-container .gr-accordion-content span,
|
259 |
+
.gradio-container .gr-accordion-content strong {
|
260 |
+
color: #ffffff !important;
|
261 |
+
}
|
262 |
+
|
263 |
+
/* Additional styles for any remaining light backgrounds */
|
264 |
+
.gradio-container div[class*="message"],
|
265 |
+
.gradio-container div[class*="panel"] {
|
266 |
+
background-color: #1a1a1a !important;
|
267 |
+
color: #ffffff !important;
|
268 |
+
}
|
269 |
+
|
270 |
+
/* Ensure all text elements are white */
|
271 |
+
.gradio-container * {
|
272 |
+
color: #ffffff !important;
|
273 |
+
}
|
274 |
"""
|
275 |
|
276 |
def on_mode_dropdown_change(selected_mode):
|