Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
·
f5b0b68
1
Parent(s):
a265150
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +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 |
examples=examples,
|
96 |
)
|
97 |
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"), gr.outputs.HTML(label="doc")],
|
95 |
examples=examples,
|
96 |
)
|
97 |
iface.launch()
|