Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -179,8 +179,8 @@ async def process_batch_job(dataset: Dict[str, Any], batch_job_id: str):
|
|
179 |
|
180 |
# Update status in Supabase
|
181 |
supabase.table("batch_processing_details").insert({
|
182 |
-
"batch_job_status": True
|
183 |
-
|
184 |
}).execute()
|
185 |
|
186 |
logger.info(f"Batch job {batch_job_id} processed successfully")
|
|
|
179 |
|
180 |
# Update status in Supabase
|
181 |
supabase.table("batch_processing_details").insert({
|
182 |
+
"batch_job_status": True,
|
183 |
+
"batch_job_id" : batch_job.id
|
184 |
}).execute()
|
185 |
|
186 |
logger.info(f"Batch job {batch_job_id} processed successfully")
|