samarthagarwal23 commited on
Commit
7ef436d
1 Parent(s): bcbee82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def final_qa_pipeline(file, query):
82
  return ("No match", 0)
83
 
84
  iface = gr.Interface(
85
- fn = pdf_to_text,
86
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
87
  outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")]
88
  )
 
82
  return ("No match", 0)
83
 
84
  iface = gr.Interface(
85
+ fn = final_qa_pipeline,
86
  inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
87
  outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")]
88
  )