ethanrom commited on
Commit
e6b1c58
·
1 Parent(s): 306995b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
  )