Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -462,7 +462,7 @@ def get_time():
|
|
462 |
#timestamp=datestamp[3].split(":")
|
463 |
return gr.update()
|
464 |
with gr.Blocks() as app:
|
465 |
-
datetimestamp=gr.State(
|
466 |
datestamp=str(datetimestamp).replace(" ","-").split("-")
|
467 |
timestamp=datestamp[3].split(":")
|
468 |
|
|
|
462 |
#timestamp=datestamp[3].split(":")
|
463 |
return gr.update()
|
464 |
with gr.Blocks() as app:
|
465 |
+
datetimestamp=gr.State(str(datetime.datetime.now()).split(".")[0])
|
466 |
datestamp=str(datetimestamp).replace(" ","-").split("-")
|
467 |
timestamp=datestamp[3].split(":")
|
468 |
|