Update app.py
Browse files
app.py
CHANGED
|
@@ -44,10 +44,10 @@ iface = gr.Interface(
|
|
| 44 |
gr.inputs.Textbox(label="Text Input"),
|
| 45 |
gr.inputs.Textbox(label="Question")
|
| 46 |
],
|
| 47 |
-
outputs=
|
| 48 |
-
gr.outputs.Textbox(label="Answer"),
|
| 49 |
-
gr.outputs.Textbox(label="Paraphrased Sentence")
|
| 50 |
-
|
| 51 |
title="Question Answering and Paraphrasing",
|
| 52 |
description="Answer a given question from a given text and paraphrase the sentence containing the answer."
|
| 53 |
)
|
|
|
|
| 44 |
gr.inputs.Textbox(label="Text Input"),
|
| 45 |
gr.inputs.Textbox(label="Question")
|
| 46 |
],
|
| 47 |
+
outputs={
|
| 48 |
+
"Answer": gr.outputs.Textbox(label="Answer"),
|
| 49 |
+
"Paraphrased Sentence": gr.outputs.Textbox(label="Paraphrased Sentence")
|
| 50 |
+
},
|
| 51 |
title="Question Answering and Paraphrasing",
|
| 52 |
description="Answer a given question from a given text and paraphrase the sentence containing the answer."
|
| 53 |
)
|