Aliibraheem516 commited on
Commit
527e7a0
·
verified ·
1 Parent(s): a2e06e0

Update app.py

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