Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict(file_obj, question):
|
|
12 |
|
13 |
for page in reader.pages:
|
14 |
txt = page.extract_text()
|
15 |
-
docText += f" {txt}"
|
16 |
|
17 |
qaInput = {
|
18 |
'question': question,
|
|
|
12 |
|
13 |
for page in reader.pages:
|
14 |
txt = page.extract_text()
|
15 |
+
docText += f" {txt}"
|
16 |
|
17 |
qaInput = {
|
18 |
'question': question,
|