ethanrom commited on
Commit
0e55ca4
·
1 Parent(s): 545109b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.dict(label="Answer and 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()
 
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()