Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -463,8 +463,8 @@ def get_time():
|
|
463 |
return gr.update(),gr.update(),gr.update()
|
464 |
with gr.Blocks() as app:
|
465 |
datetimestamp=gr.State(value=str(datetime.datetime.now()).split(".")[0])
|
466 |
-
datestamp=
|
467 |
-
timestamp=
|
468 |
|
469 |
time_html=gr.HTML(f"""<div style='font-size:xxx-large;'>Current: {datetimestamp} UTC</div>""")
|
470 |
with gr.Tab("NOAA"):
|
|
|
463 |
return gr.update(),gr.update(),gr.update()
|
464 |
with gr.Blocks() as app:
|
465 |
datetimestamp=gr.State(value=str(datetime.datetime.now()).split(".")[0])
|
466 |
+
datestamp=str(datetimestamp).replace(" ","-").split("-")
|
467 |
+
timestamp=datestamp[3].split(":")
|
468 |
|
469 |
time_html=gr.HTML(f"""<div style='font-size:xxx-large;'>Current: {datetimestamp} UTC</div>""")
|
470 |
with gr.Tab("NOAA"):
|