samarthagarwal23 commited on
Commit
a7c5578
1 Parent(s): 88e7436

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ examples = [
97
  iface = gr.Interface(
98
  fn = final_qa_pipeline,
99
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
100
- outputs = [gr.outputs.TextBox(label="Answer"), gr.outputs.TextBox(label="Score"), gr.outputs.HTML(label="Reference text")],
101
  examples=examples,
102
  )
103
  iface.launch()
 
97
  iface = gr.Interface(
98
  fn = final_qa_pipeline,
99
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
100
+ outputs = [gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Score"), gr.outputs.HTML(label="Reference text")],
101
  examples=examples,
102
  )
103
  iface.launch()