Changes
Browse files
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:
|
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)
|