Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -302,8 +302,15 @@ stored_df1 = []
|
|
302 |
stored_df2 = []
|
303 |
|
304 |
|
305 |
-
with gr.Blocks(theme='gradio/soft) as demo:
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
with gr.Tab("Methodology"):
|
308 |
gr.Markdown("""
|
309 |
## Macro-economy Adverse Scenario Comparison from EBA Reports
|
|
|
302 |
stored_df2 = []
|
303 |
|
304 |
|
305 |
+
with gr.Blocks(theme='gradio/soft') as demo:
|
306 |
+
toggle_dark.click(
|
307 |
+
None,
|
308 |
+
_js="""
|
309 |
+
() => {
|
310 |
+
document.body.classList.toggle('dark');
|
311 |
+
}
|
312 |
+
""",
|
313 |
+
)
|
314 |
with gr.Tab("Methodology"):
|
315 |
gr.Markdown("""
|
316 |
## Macro-economy Adverse Scenario Comparison from EBA Reports
|