Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,6 @@ question = "Which continent is the Amazon rainforest in?"
|
|
4 |
gr.Interface.load(
|
5 |
"huggingface/deepset/roberta-base-squad2",
|
6 |
theme="default",
|
7 |
-
inputs=[gr.inputs.Textbox(lines=7, default=context, label="Context
|
8 |
outputs=[gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Score")],
|
9 |
title=None).launch()
|
|
|
4 |
gr.Interface.load(
|
5 |
"huggingface/deepset/roberta-base-squad2",
|
6 |
theme="default",
|
7 |
+
inputs=[gr.inputs.Textbox(lines=7, default=context, label="Context Paragraph"), gr.inputs.Textbox(lines=2, default=question, label="Question")],
|
8 |
outputs=[gr.outputs.Textbox(label="Answer"), gr.outputs.Textbox(label="Score")],
|
9 |
title=None).launch()
|