Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
•
a7c5578
1
Parent(s):
88e7436
Update app.py
Browse files
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.
|
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()
|