Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
comdoleger
commited on
Commit
•
3d57275
1
Parent(s):
647a13f
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def process(data, api, api_key):
|
|
47 |
|
48 |
if status != "COMPLETED":
|
49 |
# Polling with timeout for long-running tasks
|
50 |
-
output = run_request.output(timeout=
|
51 |
else:
|
52 |
output = run_request.output()
|
53 |
print(f"Job output: {output}")
|
|
|
47 |
|
48 |
if status != "COMPLETED":
|
49 |
# Polling with timeout for long-running tasks
|
50 |
+
output = run_request.output(timeout=120)
|
51 |
else:
|
52 |
output = run_request.output()
|
53 |
print(f"Job output: {output}")
|