ya02 commited on
Commit
1315fe8
·
verified ·
1 Parent(s): 773e139

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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({"input": question})
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):