Spaces:
Runtime error
Runtime error
Use light theme.
Browse files
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 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
).set(
|
| 181 |
-
|
| 182 |
-
|
| 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())
|