Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -7,7 +7,7 @@ from extract_and_store_supabase import extract_structure_store_message
|
|
| 7 |
|
| 8 |
app = FastAPI()
|
| 9 |
|
| 10 |
-
@app.post("/
|
| 11 |
async def process_document_base64(request: Request,background_tasks: BackgroundTasks):
|
| 12 |
request_data = await request.json()
|
| 13 |
file_name = request_data.get('filename')
|
|
|
|
| 7 |
|
| 8 |
app = FastAPI()
|
| 9 |
|
| 10 |
+
@app.post("/process_uploaded_document")
|
| 11 |
async def process_document_base64(request: Request,background_tasks: BackgroundTasks):
|
| 12 |
request_data = await request.json()
|
| 13 |
file_name = request_data.get('filename')
|