Vaibhav84 commited on
Commit
d043de2
·
1 Parent(s): c7e63c1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def process_pdf_file(file: bytes = File(...)):
85
  return {"content": text}
86
 
87
  @app.post("/uploadJobDescriptionPDF_Fname/")
88
- def process_pdf_file1(file: FileUploadDetails):
89
  # Save file locally for processing
90
  text =''
91
  reserve_pdf_on_memory = io.BytesIO(file.fileData)
 
85
  return {"content": text}
86
 
87
  @app.post("/uploadJobDescriptionPDF_Fname/")
88
+ def process_pdf_file1(file: bytes = File(...), data: str = str):
89
  # Save file locally for processing
90
  text =''
91
  reserve_pdf_on_memory = io.BytesIO(file.fileData)