Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,7 @@ headers0 = {"Authorization": "Bearer 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"}
|
|
42 |
def read_pdf(file):
|
43 |
# images=pdf2image.convert_from_path(file)
|
44 |
# # print(type(images))
|
45 |
-
|
46 |
-
pdfReader = PdfFileReader(fileobj)
|
47 |
count = pdfReader.numPages
|
48 |
all_page_text = " "
|
49 |
for i in range(count):
|
|
|
42 |
def read_pdf(file):
|
43 |
# images=pdf2image.convert_from_path(file)
|
44 |
# # print(type(images))
|
45 |
+
pdfReader = PdfFileReader(file)
|
|
|
46 |
count = pdfReader.numPages
|
47 |
all_page_text = " "
|
48 |
for i in range(count):
|