Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def process_pdf_and_ask_question(pdf_file, question):
|
|
| 62 |
)
|
| 63 |
|
| 64 |
# Process the question
|
| 65 |
-
res = chain({"
|
| 66 |
return res["answer"]
|
| 67 |
|
| 68 |
def gradio_interface(pdf, question):
|
|
|
|
| 62 |
)
|
| 63 |
|
| 64 |
# Process the question
|
| 65 |
+
res = chain({"question": question})
|
| 66 |
return res["answer"]
|
| 67 |
|
| 68 |
def gradio_interface(pdf, question):
|