Spaces:
Running
Running
crcdng
commited on
Commit
·
fc47b87
1
Parent(s):
01f1d79
fix timer
Browse files- Gradio_UI.py +1 -1
Gradio_UI.py
CHANGED
@@ -305,7 +305,7 @@ class GradioUI:
|
|
305 |
|
306 |
with gr.Row():
|
307 |
timer = gr.Timer(1)
|
308 |
-
time_display = gr.Textbox(label="Time"
|
309 |
import time
|
310 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
311 |
with gr.Row():
|
|
|
305 |
|
306 |
with gr.Row():
|
307 |
timer = gr.Timer(1)
|
308 |
+
time_display = gr.Textbox(label="Time")
|
309 |
import time
|
310 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
311 |
with gr.Row():
|