credent007 commited on
Commit
4f5516a
·
verified ·
1 Parent(s): be9dd82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ async def extract(file: UploadFile = File(...)):
29
  with open(file_path, "wb") as buffer:
30
  shutil.copyfileobj(file.file, buffer)
31
 
32
- # result = process_document(file_path)
33
- result = process_whole_doc(file_path)
34
 
35
  return {"result": result}
 
29
  with open(file_path, "wb") as buffer:
30
  shutil.copyfileobj(file.file, buffer)
31
 
32
+ result = process_document(file_path)
33
+ # result = process_whole_doc(file_path)
34
 
35
  return {"result": result}