Cachoups commited on
Commit
48508a3
·
verified ·
1 Parent(s): 19fcbae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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