Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -18,7 +18,7 @@ supabase: Client = create_client(
|
|
| 18 |
# Initialize your open client
|
| 19 |
client = Client(api_key=os.getenv('OPENAI_API_KEY'),organization=os.getenv('ORG_ID'))
|
| 20 |
|
| 21 |
-
@app.post("/
|
| 22 |
async def batch_processing_result(request: Request, background_tasks: BackgroundTasks):
|
| 23 |
body = await request.json()
|
| 24 |
batch_id = body.get('batch_job_id')
|
|
|
|
| 18 |
# Initialize your open client
|
| 19 |
client = Client(api_key=os.getenv('OPENAI_API_KEY'),organization=os.getenv('ORG_ID'))
|
| 20 |
|
| 21 |
+
@app.post("/batch_processing_result")
|
| 22 |
async def batch_processing_result(request: Request, background_tasks: BackgroundTasks):
|
| 23 |
body = await request.json()
|
| 24 |
batch_id = body.get('batch_job_id')
|