Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -244,11 +244,13 @@ custom_css = """
|
|
| 244 |
}
|
| 245 |
"""
|
| 246 |
|
| 247 |
-
with gr.Blocks(css=custom_css, theme=gr.themes.Default(primary_hue="sky")) as demo:
|
| 248 |
# Insert custom CSS for layout:
|
| 249 |
gr.HTML("""
|
| 250 |
<script>
|
| 251 |
-
|
|
|
|
|
|
|
| 252 |
</script>
|
| 253 |
<style>
|
| 254 |
:root {
|
|
|
|
| 244 |
}
|
| 245 |
"""
|
| 246 |
|
| 247 |
+
with gr.Blocks(fill_width=True, css=custom_css, theme=gr.themes.Default(primary_hue="sky")) as demo:
|
| 248 |
# Insert custom CSS for layout:
|
| 249 |
gr.HTML("""
|
| 250 |
<script>
|
| 251 |
+
window.addEventListener("load", () => {
|
| 252 |
+
document.documentElement.setAttribute("data-theme", "light");
|
| 253 |
+
});
|
| 254 |
</script>
|
| 255 |
<style>
|
| 256 |
:root {
|