ragerri commited on
Commit
fd9c050
1 Parent(s): 933040e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,5 +4,4 @@ question = "Which continent is the Amazon rainforest in?"
4
  gr.Interface.load(
5
  "huggingface/deepset/roberta-base-squad2",
6
  inputs=[gr.Textbox(lines=7, value=context, label="Context paragraph"), gr.Textbox(lines=2, value=question, label="Question")],
7
- outputs=[gr.Textbox(label="Answer"), gr.Textbox(label="Score")],
8
- description="Provide your own paragraph and ask any question about the text. How well does the model answer?").launch()
 
4
  gr.Interface.load(
5
  "huggingface/deepset/roberta-base-squad2",
6
  inputs=[gr.Textbox(lines=7, value=context, label="Context paragraph"), gr.Textbox(lines=2, value=question, label="Question")],
7
+ outputs=[gr.Textbox(label="Answer"), gr.Textbox(label="Score")]).launch()