Spaces:
Paused
Paused
Zhen Ye
commited on
Commit
·
0a016b0
1
Parent(s):
a52a96d
Fix syntax error in background job
Browse files- jobs/background.py +0 -3
jobs/background.py
CHANGED
|
@@ -128,9 +128,6 @@ async def process_video_async(job_id: str) -> None:
|
|
| 128 |
status=JobStatus.FAILED,
|
| 129 |
completed_at=datetime.utcnow(),
|
| 130 |
error=str(exc),
|
| 131 |
-
status=JobStatus.FAILED,
|
| 132 |
-
completed_at=datetime.utcnow(),
|
| 133 |
-
error=str(exc),
|
| 134 |
)
|
| 135 |
finally:
|
| 136 |
remove_stream(job_id)
|
|
|
|
| 128 |
status=JobStatus.FAILED,
|
| 129 |
completed_at=datetime.utcnow(),
|
| 130 |
error=str(exc),
|
|
|
|
|
|
|
|
|
|
| 131 |
)
|
| 132 |
finally:
|
| 133 |
remove_stream(job_id)
|