Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +9 -8
ui/contentagentui.py
CHANGED
|
@@ -110,14 +110,15 @@ class ContentAgentUI:
|
|
| 110 |
|
| 111 |
# Control panel (shown first; may auto-hide on load)
|
| 112 |
with gr.Group(visible=True) as self.control_panel:
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
|
|
|
| 121 |
|
| 122 |
|
| 123 |
# Main panel (hidden until agent is initialized)
|
|
|
|
| 110 |
|
| 111 |
# Control panel (shown first; may auto-hide on load)
|
| 112 |
with gr.Group(visible=True) as self.control_panel:
|
| 113 |
+
with gr.Box(elem_id="box")
|
| 114 |
+
self.status_box = gr.Textbox(
|
| 115 |
+
label="Status",
|
| 116 |
+
value=self._initial_status_text(),
|
| 117 |
+
lines=8,
|
| 118 |
+
interactive=False,
|
| 119 |
+
)
|
| 120 |
+
start_btn = gr.Button("Start Agent")
|
| 121 |
+
gr.Markdown("It may take up to 5 minutes to wake up the agent")
|
| 122 |
|
| 123 |
|
| 124 |
# Main panel (hidden until agent is initialized)
|