Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -41,7 +41,6 @@ async def root():
|
|
| 41 |
|
| 42 |
@app.post("/resume_parser/")
|
| 43 |
def process_pdf_file(file: UploadFile = File(...)):
|
| 44 |
-
print(file)
|
| 45 |
contents = file.file.read()
|
| 46 |
with open(file.filename, 'wb') as f:
|
| 47 |
f.write(contents)
|
|
|
|
| 41 |
|
| 42 |
@app.post("/resume_parser/")
|
| 43 |
def process_pdf_file(file: UploadFile = File(...)):
|
|
|
|
| 44 |
contents = file.file.read()
|
| 45 |
with open(file.filename, 'wb') as f:
|
| 46 |
f.write(contents)
|