Spaces:
Running
Running
crcdng
commited on
Commit
·
17da3a2
1
Parent(s):
414f31c
test css
Browse files- Gradio_UI.py +2 -2
Gradio_UI.py
CHANGED
@@ -287,7 +287,7 @@ class GradioUI:
|
|
287 |
def launch(self, **kwargs):
|
288 |
import gradio as gr
|
289 |
|
290 |
-
with gr.Blocks(fill_height=True, theme='crcdng/cyber', css=".
|
291 |
|
292 |
title_html=(
|
293 |
"""
|
@@ -325,7 +325,7 @@ class GradioUI:
|
|
325 |
title=gr.HTML(banner_html)
|
326 |
with gr.Row():
|
327 |
timer = gr.Timer(1)
|
328 |
-
time_display = gr.Textbox(label="Time", elem_classes="
|
329 |
import time
|
330 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
331 |
with gr.Row():
|
|
|
287 |
def launch(self, **kwargs):
|
288 |
import gradio as gr
|
289 |
|
290 |
+
with gr.Blocks(fill_height=True, theme='crcdng/cyber', css=".my-container {background-color: red}") as demo:
|
291 |
|
292 |
title_html=(
|
293 |
"""
|
|
|
325 |
title=gr.HTML(banner_html)
|
326 |
with gr.Row():
|
327 |
timer = gr.Timer(1)
|
328 |
+
time_display = gr.Textbox(label="Time", elem_classes="my-container",)
|
329 |
import time
|
330 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
331 |
with gr.Row():
|