Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def mainFun(query,file):
|
|
| 21 |
text=''
|
| 22 |
with open(file.name) as f:
|
| 23 |
text = f.read()
|
| 24 |
-
answer,answer_p=quad(query,file
|
| 25 |
return text,answer_p,summarize_text(answer)
|
| 26 |
|
| 27 |
|
|
|
|
| 21 |
text=''
|
| 22 |
with open(file.name) as f:
|
| 23 |
text = f.read()
|
| 24 |
+
answer,answer_p=quad(query,file)
|
| 25 |
return text,answer_p,summarize_text(answer)
|
| 26 |
|
| 27 |
|