Omnibus commited on
Commit
054b26f
·
verified ·
1 Parent(s): de22865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -436,6 +436,7 @@ with gr.Blocks() as app:
436
  gr.HTML(f"""<div style='font-size:xxx-large;'>Current: {datetimestamp} UTC</div>""")
437
  with gr.Tab("NOAA"):
438
  with gr.Tab("Images"):
 
439
  html_im=gr.HTML()
440
  with gr.Tab("Animations"):
441
  anim_btn=gr.Button()
@@ -513,5 +514,5 @@ with gr.Blocks() as app:
513
  drop2.change(make_tree,[drop1,drop2],[drop3])
514
  drop3.change(make_tree,[drop1,drop2,drop3],[drop4])
515
  ######################
516
- #app.load(run,None,[drop1,html_im])
517
  app.queue(default_concurrency_limit=10).launch()
 
436
  gr.HTML(f"""<div style='font-size:xxx-large;'>Current: {datetimestamp} UTC</div>""")
437
  with gr.Tab("NOAA"):
438
  with gr.Tab("Images"):
439
+ first_btn=gr.Button("Load")
440
  html_im=gr.HTML()
441
  with gr.Tab("Animations"):
442
  anim_btn=gr.Button()
 
514
  drop2.change(make_tree,[drop1,drop2],[drop3])
515
  drop3.change(make_tree,[drop1,drop2,drop3],[drop4])
516
  ######################
517
+ first_btn.click(run,None,[drop1,html_im])
518
  app.queue(default_concurrency_limit=10).launch()