Vaibhav84 commited on
Commit
1b39389
·
1 Parent(s): fe7685d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,4 +138,4 @@ def process_pdf_file2(file: Annotated[bytes, File()]):
138
  text += page.extract_text()
139
  print(text)
140
  # Process saved file
141
- return {"content": text}
 
138
  text += page.extract_text()
139
  print(text)
140
  # Process saved file
141
+ return {"content": file.content_type }