Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +12 -10
ui/contentagentui.py
CHANGED
|
@@ -110,16 +110,18 @@ 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 |
|
| 124 |
# Main panel (hidden until agent is initialized)
|
| 125 |
with gr.Group(visible=False) as self.main_panel:
|
|
|
|
| 110 |
|
| 111 |
# Control panel (shown first; may auto-hide on load)
|
| 112 |
with gr.Group(visible=True) as self.control_panel:
|
| 113 |
+
|
| 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 |
+
|
| 122 |
+
gr.HTML("""
|
| 123 |
+
<p>It may take up to 5 minutes to wake up the agent"</p>
|
| 124 |
+
""")
|
| 125 |
|
| 126 |
# Main panel (hidden until agent is initialized)
|
| 127 |
with gr.Group(visible=False) as self.main_panel:
|