Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|
|