Aliibraheem516 commited on
Commit
c7aaded
1 Parent(s): 4e4ea6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def process_pdf_and_question(pdf_file,question):
65
  res = chain({"question": question})
66
  return res["answer"]
67
 
68
- app=gr.Interface(fn=process_pdf_and_ask_question,
69
  inputs=[gr.File(file_count="single", type="filepath"), gr.Textbox(lines=2, placeholder="Ask a question...")],
70
  outputs="text",
71
  title="PDF Q&A",
 
65
  res = chain({"question": question})
66
  return res["answer"]
67
 
68
+ app=gr.Interface(fn=process_pdf_and_question,
69
  inputs=[gr.File(file_count="single", type="filepath"), gr.Textbox(lines=2, placeholder="Ask a question...")],
70
  outputs="text",
71
  title="PDF Q&A",