galb-dai commited on
Commit
d91b517
·
1 Parent(s): f375538

Use light theme.

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -173,14 +173,15 @@ def gate_submission(oauth_token: gr.OAuthToken | None):
173
 
174
 
175
  def get_theme():
176
- return gr.themes.Soft(
177
- primary_hue=gr.themes.colors.blue,
178
- secondary_hue=gr.themes.colors.sky,
179
- neutral_hue=gr.themes.colors.gray,
180
- ).set(
181
- body_background_fill="#FFFFFF",
182
- panel_background_fill="#f3f4f6",
183
- )
 
184
 
185
 
186
  blocks = gr.Blocks(css=custom_css, theme=get_theme())
 
173
 
174
 
175
  def get_theme():
176
+ # return gr.themes.Soft(
177
+ # primary_hue=gr.themes.colors.blue,
178
+ # secondary_hue=gr.themes.colors.sky,
179
+ # neutral_hue=gr.themes.colors.gray,
180
+ # ).set(
181
+ # body_background_fill="#FFFFFF",
182
+ # panel_background_fill="#f3f4f6",
183
+ # )
184
+ return "light"
185
 
186
 
187
  blocks = gr.Blocks(css=custom_css, theme=get_theme())