Update app.py
Browse files
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=
|
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=12, default=context, label="Context paragraph"), gr.inputs.Textbox(lines=3, 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()
|