Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
·
7e61444
1
Parent(s):
442d312
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def final_qa_pipeline(file, query):
|
|
78 |
|
79 |
iface = gr.Interface(
|
80 |
fn = pdf_to_text,
|
81 |
-
inputs =
|
82 |
outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")]
|
83 |
)
|
84 |
iface.launch()
|
|
|
78 |
|
79 |
iface = gr.Interface(
|
80 |
fn = pdf_to_text,
|
81 |
+
inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:")],
|
82 |
outputs = [gr.outputs.HTML(label="Answer"), gr.outputs.HTML(label="Score")]
|
83 |
)
|
84 |
iface.launch()
|