Omnibus commited on
Commit
ef5fd3a
·
verified ·
1 Parent(s): c8bc7d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -472,9 +472,9 @@ def get_time():
472
  day2=int(datestamp[2])
473
  hour2=int(timestamp[0])
474
  minute2=int(timestamp[1])
475
- return gr.update(value=html_out),gr.update(value=year1),gr.update(value=month1),
476
  gr.update(value=day1),gr.update(value=hour1),gr.update(value=minute1),
477
- gr.update(value=year2),gr.update(value=month2),gr.update(value=day2),gr.update(value=hour2),gr.update(value=minute2)
478
 
479
  with gr.Blocks() as app:
480
  #datetimestamp=gr.Textbox()
 
472
  day2=int(datestamp[2])
473
  hour2=int(timestamp[0])
474
  minute2=int(timestamp[1])
475
+ return (gr.update(value=html_out),gr.update(value=year1),gr.update(value=month1),
476
  gr.update(value=day1),gr.update(value=hour1),gr.update(value=minute1),
477
+ gr.update(value=year2),gr.update(value=month2),gr.update(value=day2),gr.update(value=hour2),gr.update(value=minute2))
478
 
479
  with gr.Blocks() as app:
480
  #datetimestamp=gr.Textbox()