Arial311 commited on
Commit
db2c680
·
verified ·
1 Parent(s): ded29c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -240,12 +240,7 @@ def update_ui():
240
 
241
  with gr.Blocks(head=head_html, fill_height=True, theme=gr.themes.Base()) as demo:
242
  # We only need one component to render the entire page
243
- main_page = gr.HTML()
244
-
245
- # Timer to refresh the content
246
- #timer = gr.Timer(5) # Refresh every 5 seconds
247
- #timer.tick(fn=update_ui, inputs=None, outputs=main_page)
248
-
249
  # Load the content when the app starts
250
  demo.load(fn=update_ui, inputs=None, outputs=main_page)
251
 
 
240
 
241
  with gr.Blocks(head=head_html, fill_height=True, theme=gr.themes.Base()) as demo:
242
  # We only need one component to render the entire page
243
+ main_page = gr.HTML()
 
 
 
 
 
244
  # Load the content when the app starts
245
  demo.load(fn=update_ui, inputs=None, outputs=main_page)
246