awacke1 commited on
Commit
fda7d6c
1 Parent(s): 5140af6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ gr.Interface.load(
31
  "huggingface/deepset/roberta-base-squad2",
32
  theme="default",
33
  css=".footer{display:none !important}",
34
- inputs=[gr.inputs.Textbox(lines=20, default=context, label="Context paragraph"), gr.inputs.Textbox(lines=10, default=question, label="Question")],
35
  outputs=[gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Score")],
36
  title=None,
37
  description="Provide your own paragraph and ask any question about the text. How well does the model answer?").launch()
31
  "huggingface/deepset/roberta-base-squad2",
32
  theme="default",
33
  css=".footer{display:none !important}",
34
+ inputs=[gr.inputs.Textbox(lines=15, default=context, label="Context paragraph"), gr.inputs.Textbox(lines=4, default=question, label="Question")],
35
  outputs=[gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Score")],
36
  title=None,
37
  description="Provide your own paragraph and ask any question about the text. How well does the model answer?").launch()