Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ inputs = [
|
|
| 42 |
gr.inputs.Textbox(label="Text Input"),
|
| 43 |
gr.inputs.Textbox(label="Question")
|
| 44 |
]
|
| 45 |
-
outputs = gr.outputs.
|
| 46 |
|
| 47 |
iface = gr.Interface(fn=find_answer_and_paraphrase, inputs=inputs, outputs=outputs, title="Question Answering and Paraphrasing", description="Enter the text and question to find the answer and paraphrase the sentence containing the answer.")
|
| 48 |
iface.launch()
|
|
|
|
| 42 |
gr.inputs.Textbox(label="Text Input"),
|
| 43 |
gr.inputs.Textbox(label="Question")
|
| 44 |
]
|
| 45 |
+
outputs = [gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Paraphrase")]
|
| 46 |
|
| 47 |
iface = gr.Interface(fn=find_answer_and_paraphrase, inputs=inputs, outputs=outputs, title="Question Answering and Paraphrasing", description="Enter the text and question to find the answer and paraphrase the sentence containing the answer.")
|
| 48 |
iface.launch()
|