Omkar008 commited on
Commit
202db95
·
verified ·
1 Parent(s): 7853c7c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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("/process_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')
 
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')