samarthagarwal23 commited on
Commit
58cbf7b
1 Parent(s): 2482299

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,6 +91,7 @@ examples = [
91
  iface = gr.Interface(
92
  fn = final_qa_pipeline,
93
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
94
- outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")]
 
95
  )
96
  iface.launch()
 
91
  iface = gr.Interface(
92
  fn = final_qa_pipeline,
93
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
94
+ outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")],
95
+ examples=examples,
96
  )
97
  iface.launch()