Changes
Browse files
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":
|
|
|
138 |
text += page.extract_text()
|
139 |
print(text)
|
140 |
# Process saved file
|
141 |
+
return {"content": file.content_type }
|