paulcalzada commited on
Commit
0ae174a
·
1 Parent(s): 6805b2e
Files changed (1) hide show
  1. app.py +2 -3
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
- # Directly set the color values for the theme
32
  theme=gr.themes.Soft().set(
33
- background_fill_secondary_dark="#222",
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"