Commit ·
0ae174a
1
Parent(s): 6805b2e
fixing
Browse files
app.py
CHANGED
|
@@ -28,10 +28,9 @@ except Exception as e:
|
|
| 28 |
# --- Gradio UI setup below ---
|
| 29 |
with gr.Blocks(
|
| 30 |
title="DeepV for RTL (Model-Agnostic)",
|
| 31 |
-
#
|
| 32 |
theme=gr.themes.Soft().set(
|
| 33 |
-
|
| 34 |
-
background_fill_secondary_light="#eee",
|
| 35 |
button_primary_background_fill_dark="#4CAF50",
|
| 36 |
button_primary_background_fill_hover_dark="#3e8e41",
|
| 37 |
button_primary_text_color_dark="#fff"
|
|
|
|
| 28 |
# --- Gradio UI setup below ---
|
| 29 |
with gr.Blocks(
|
| 30 |
title="DeepV for RTL (Model-Agnostic)",
|
| 31 |
+
# Use a single color value for the background fill
|
| 32 |
theme=gr.themes.Soft().set(
|
| 33 |
+
background_fill_secondary="#eee", # A light gray that works for both themes
|
|
|
|
| 34 |
button_primary_background_fill_dark="#4CAF50",
|
| 35 |
button_primary_background_fill_hover_dark="#3e8e41",
|
| 36 |
button_primary_text_color_dark="#fff"
|