Spaces:
Running
Running
crcdng
commited on
Commit
·
a016927
1
Parent(s):
725d08a
try css
Browse files- Gradio_UI.py +2 -2
Gradio_UI.py
CHANGED
@@ -315,7 +315,7 @@ class GradioUI:
|
|
315 |
|
316 |
with gr.Row():
|
317 |
timer = gr.Timer(1)
|
318 |
-
time_display = gr.Textbox(label="Time")
|
319 |
import time
|
320 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
321 |
with gr.Row():
|
@@ -348,7 +348,7 @@ class GradioUI:
|
|
348 |
steps_input.change(self.agent_set_steps, steps_input, None)
|
349 |
tools_list = gr.Dropdown(self.agent_get_tools(), interactive=True, label="Tools", info="(display only)")
|
350 |
# tools_list.select(self.agent_get_tools, None, tools_list)
|
351 |
-
reset = gr.Button(value="Reset Agent",
|
352 |
reset.click(self.agent_reset, None, None)
|
353 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
354 |
text_input.submit(
|
|
|
315 |
|
316 |
with gr.Row():
|
317 |
timer = gr.Timer(1)
|
318 |
+
time_display = gr.Textbox(label="Time", elem_classes="cyber-glitch-4",)
|
319 |
import time
|
320 |
timer.tick(lambda: get_current_time_in_timezone(time.tzname[0]), outputs=time_display)
|
321 |
with gr.Row():
|
|
|
348 |
steps_input.change(self.agent_set_steps, steps_input, None)
|
349 |
tools_list = gr.Dropdown(self.agent_get_tools(), interactive=True, label="Tools", info="(display only)")
|
350 |
# tools_list.select(self.agent_get_tools, None, tools_list)
|
351 |
+
reset = gr.Button(value="Reset Agent",)
|
352 |
reset.click(self.agent_reset, None, None)
|
353 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
354 |
text_input.submit(
|