Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def process(data, api, api_key):
|
|
| 43 |
status = run_request.status()
|
| 44 |
print(f"Initial job status: {status}")
|
| 45 |
if status=="IN_QUEUE":
|
| 46 |
-
|
| 47 |
|
| 48 |
if status != "COMPLETED":
|
| 49 |
# Polling with timeout for long-running tasks
|
|
|
|
| 43 |
status = run_request.status()
|
| 44 |
print(f"Initial job status: {status}")
|
| 45 |
if status=="IN_QUEUE":
|
| 46 |
+
gr.Info("Queued 🚶🚶🚶🚶!", duration=15)
|
| 47 |
|
| 48 |
if status != "COMPLETED":
|
| 49 |
# Polling with timeout for long-running tasks
|