Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,6 +22,7 @@ def load_model():
|
|
| 22 |
for page in pdf.pages:
|
| 23 |
text.append(page.extract_text())
|
| 24 |
text_str = ' '.join([page for page in text])
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
|
|
|
|
| 22 |
for page in pdf.pages:
|
| 23 |
text.append(page.extract_text())
|
| 24 |
text_str = ' '.join([page for page in text])
|
| 25 |
+
return text_str
|
| 26 |
|
| 27 |
|
| 28 |
|