Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -29,6 +29,13 @@ async def batch_processing_result(request: Request, background_tasks: Background
|
|
| 29 |
|
| 30 |
# Immediately return success response
|
| 31 |
# return {'batch_job_status':'notcompleted'}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
return {'batch_job_status':'completed'}
|
| 33 |
|
| 34 |
|
|
|
|
| 29 |
|
| 30 |
# Immediately return success response
|
| 31 |
# return {'batch_job_status':'notcompleted'}
|
| 32 |
+
insert_response = (supabase.table("batch_processing_details")
|
| 33 |
+
.update({
|
| 34 |
+
"batch_job_status": True,
|
| 35 |
+
})
|
| 36 |
+
.execute()
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
return {'batch_job_status':'completed'}
|
| 40 |
|
| 41 |
|