comdoleger commited on
Commit
b650cc9
1 Parent(s): 3d57275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- raise gr.Info("Queued 🚶🚶🚶🚶!", duration=15)
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