Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +1 -1
ui/contentagentui.py
CHANGED
|
@@ -203,7 +203,7 @@ class ContentAgentUI:
|
|
| 203 |
return ("\n".join(lines), gr.update(), gr.update(), None)
|
| 204 |
|
| 205 |
# Wake with progress
|
| 206 |
-
yield push("Waking endpoint…
|
| 207 |
ok, err = wake_endpoint(self.endpoint_uri, max_wait=600, poll_every=5.0, log=lines.append)
|
| 208 |
yield ("\n".join(lines), gr.update(), gr.update(), None) # flush all logs
|
| 209 |
|
|
|
|
| 203 |
return ("\n".join(lines), gr.update(), gr.update(), None)
|
| 204 |
|
| 205 |
# Wake with progress
|
| 206 |
+
yield push("Waking endpoint… this can take several minutes for cold start")
|
| 207 |
ok, err = wake_endpoint(self.endpoint_uri, max_wait=600, poll_every=5.0, log=lines.append)
|
| 208 |
yield ("\n".join(lines), gr.update(), gr.update(), None) # flush all logs
|
| 209 |
|