Vaibhav84 commited on
Commit
813bff0
·
1 Parent(s): c1932d3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def process_pdf_file1(file: bytes = File(...), data: str = str):
94
  text += page.extract_text()
95
  print(text)
96
  # Process saved file
97
- return {"content": text}
98
  @app.get("/ProfileMatch")
99
  def ProfileMatchResults():
100
  dbQuery = "select * from profilematch"
 
94
  text += page.extract_text()
95
  print(text)
96
  # Process saved file
97
+ return {"content": data}
98
  @app.get("/ProfileMatch")
99
  def ProfileMatchResults():
100
  dbQuery = "select * from profilematch"