Cachoups commited on
Commit
7d78b9a
·
verified ·
1 Parent(s): 56b4680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -301,7 +301,12 @@ stored_paragraphs_2 = []
301
  stored_df1 = []
302
  stored_df2 = []
303
 
304
-
 
 
 
 
 
305
  with gr.Blocks(theme='gradio/soft') as demo:
306
  with gr.Row():
307
  with gr.Column(scale=3):
 
301
  stored_df1 = []
302
  stored_df2 = []
303
 
304
+ def toggle_dark_mode():
305
+ # This can be used if you want to manage state in Python,
306
+ # but since we are using JavaScript for dark mode,
307
+ # we don't need to define any function here.
308
+ return None
309
+
310
  with gr.Blocks(theme='gradio/soft') as demo:
311
  with gr.Row():
312
  with gr.Column(scale=3):