Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -29,7 +29,8 @@ async def batch_processing_result(request: Request, background_tasks: Background
|
|
| 29 |
# return {"batch_job_status":'completed'}
|
| 30 |
|
| 31 |
# Immediately return success response
|
| 32 |
-
return {'batch_job_status':'notcompleted'}
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
async def process_batch_data(batch_id: str):
|
|
|
|
| 29 |
# return {"batch_job_status":'completed'}
|
| 30 |
|
| 31 |
# Immediately return success response
|
| 32 |
+
# return {'batch_job_status':'notcompleted'}
|
| 33 |
+
return {'batch_job_status':'completed'}
|
| 34 |
|
| 35 |
|
| 36 |
async def process_batch_data(batch_id: str):
|