Update app.py
Browse files
app.py
CHANGED
|
@@ -258,7 +258,7 @@ def ocr_converter(input_file):
|
|
| 258 |
return image_pdf
|
| 259 |
|
| 260 |
def summarize_contents():
|
| 261 |
-
question = "Generate a short summary of the contents along with no more than 3 leading/example questions"
|
| 262 |
return pdf_qa.run(question)
|
| 263 |
|
| 264 |
def answer_query(query):
|
|
|
|
| 258 |
return image_pdf
|
| 259 |
|
| 260 |
def summarize_contents():
|
| 261 |
+
question = "Generate a short summary of the contents along with no more than 3 leading/example questions. Do not return the response in json format"
|
| 262 |
return pdf_qa.run(question)
|
| 263 |
|
| 264 |
def answer_query(query):
|