nasirbloch323 commited on
Commit
827586c
·
verified ·
1 Parent(s): e46ebf6

Update _app.py

Browse files
Files changed (1) hide show
  1. _app.py +1 -3
_app.py CHANGED
@@ -21,9 +21,7 @@ def qa(question: str, doc: str) -> str:
21
  demo = gr.Interface(
22
  qa,
23
  [gr.Textbox(label="Question"), PDF(label="Document")],
24
- gr.Textbox(),
25
- examples=[["What is the total gross worth?", str(dir_ / "invoice_2.pdf")],
26
- ["Whos is being invoiced?", str(dir_ / "sample_invoice.pdf")]]
27
  )
28
 
29
  if __name__ == "__main__":
 
21
  demo = gr.Interface(
22
  qa,
23
  [gr.Textbox(label="Question"), PDF(label="Document")],
24
+ gr.Textbox()
 
 
25
  )
26
 
27
  if __name__ == "__main__":