Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ context = "The Amazon rainforest, also known in English as Amazonia or the Amazo
|
|
3 |
question = "Which continent is the Amazon rainforest in?"
|
4 |
gr.Interface.load(
|
5 |
"huggingface/deepset/roberta-base-squad2",
|
6 |
-
css=".footer{display:none !important}",
|
7 |
inputs=[gr.Textbox(lines=7, value=context, label="Context paragraph"), gr.Textbox(lines=2, value=question, label="Question")],
|
8 |
outputs=[gr.Textbox(label="Answer"), gr.Textbox(label="Score")],
|
9 |
title=None,
|
|
|
3 |
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 |
title=None,
|