Spaces:
Sleeping
Sleeping
crcdng
commited on
Commit
·
6dc6335
1
Parent(s):
c0796e5
fix
Browse files- Gradio_UI.py +3 -3
Gradio_UI.py
CHANGED
@@ -315,8 +315,8 @@ class GradioUI:
|
|
315 |
|
316 |
banner_html=(
|
317 |
"""
|
318 |
-
<div class="cyber-banner-short bg-purple fg-white cyber-glitch-1">
|
319 |
-
Tannhäuser Gate Approved
|
320 |
</div>
|
321 |
"""
|
322 |
)
|
@@ -326,7 +326,7 @@ class GradioUI:
|
|
326 |
with gr.Row():
|
327 |
timer = gr.Timer(1)
|
328 |
gr.Textbox(render=False)
|
329 |
-
time_display = gr.Textbox(label="Time", elem_classes="
|
330 |
gr.Textbox(render=False)
|
331 |
import time
|
332 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
|
|
315 |
|
316 |
banner_html=(
|
317 |
"""
|
318 |
+
<div id="scroll-container" class="cyber-banner-short bg-purple fg-white cyber-glitch-1">
|
319 |
+
<span id="scroll-text">Tannhäuser Gate Approved</span>
|
320 |
</div>
|
321 |
"""
|
322 |
)
|
|
|
326 |
with gr.Row():
|
327 |
timer = gr.Timer(1)
|
328 |
gr.Textbox(render=False)
|
329 |
+
time_display = gr.Textbox(label="Time", elem_classes="cyber-glitch-4")
|
330 |
gr.Textbox(render=False)
|
331 |
import time
|
332 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|