Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +2 -2
ui/contentagentui.py
CHANGED
|
@@ -134,7 +134,7 @@ class ContentAgentUI:
|
|
| 134 |
start_btn = gr.Button("Start Agent")
|
| 135 |
|
| 136 |
gr.HTML("""
|
| 137 |
-
<p>It may take up to 5 minutes to wake up the agent
|
| 138 |
""")
|
| 139 |
|
| 140 |
# Main panel (hidden until agent is initialized)
|
|
@@ -211,7 +211,7 @@ class ContentAgentUI:
|
|
| 211 |
return ("\n".join(lines), gr.update(), gr.update(), None)
|
| 212 |
|
| 213 |
# Wake with progress
|
| 214 |
-
yield push("Waking endpoint… this can take several minutes for cold start")
|
| 215 |
ok, err = wake_endpoint(self.endpoint_uri, max_wait=600, poll_every=5.0, log=lines.append)
|
| 216 |
yield ("\n".join(lines), gr.update(), gr.update(), None) # flush all logs
|
| 217 |
|
|
|
|
| 134 |
start_btn = gr.Button("Start Agent")
|
| 135 |
|
| 136 |
gr.HTML("""
|
| 137 |
+
<p>It may take up to 5 minutes to wake up the agent.</p>
|
| 138 |
""")
|
| 139 |
|
| 140 |
# Main panel (hidden until agent is initialized)
|
|
|
|
| 211 |
return ("\n".join(lines), gr.update(), gr.update(), None)
|
| 212 |
|
| 213 |
# Wake with progress
|
| 214 |
+
yield push("Waking endpoint… this can take several minutes for a cold start.")
|
| 215 |
ok, err = wake_endpoint(self.endpoint_uri, max_wait=600, poll_every=5.0, log=lines.append)
|
| 216 |
yield ("\n".join(lines), gr.update(), gr.update(), None) # flush all logs
|
| 217 |
|