Omkar008 commited on
Commit
8c5fd27
·
verified ·
1 Parent(s): e170447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from extract_and_store_supabase import extract_structure_store_message
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
  # print(request_data)
14
  if request_data.get('user_id') and request_data.get('message_id') and request_data.get('attachment_id') is None:
 
8
  app = FastAPI()
9
 
10
  @app.post("/process_document")
11
+ async def process_document_base64(request: Request):
12
  request_data = await request.json()
13
  # print(request_data)
14
  if request_data.get('user_id') and request_data.get('message_id') and request_data.get('attachment_id') is None: