Spaces:
Runtime error
Runtime error
innocent-charles
commited on
Commit
•
a715ae4
1
Parent(s):
17af79a
Update app.py
Browse files
app.py
CHANGED
@@ -14,5 +14,4 @@ gr.Interface.load(
|
|
14 |
inputs=[gr.inputs.Textbox(lines=7, default=context, label="Context"), gr.inputs.Textbox(lines=2, default=question, label="Question")],
|
15 |
title="Swahili Question Answering App",
|
16 |
description="Question Answering App for Swahili Language based on bert-base-multilingual-cased model, fine-tuned using the KenyaCorpus dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering in Swahili Language.",
|
17 |
-
outputs=[gr.outputs.Textbox(label="Answer"),gr.outputs.Textbox(label="Score")]
|
18 |
-
examples=samples).launch()
|
|
|
14 |
inputs=[gr.inputs.Textbox(lines=7, default=context, label="Context"), gr.inputs.Textbox(lines=2, default=question, label="Question")],
|
15 |
title="Swahili Question Answering App",
|
16 |
description="Question Answering App for Swahili Language based on bert-base-multilingual-cased model, fine-tuned using the KenyaCorpus dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering in Swahili Language.",
|
17 |
+
outputs=[gr.outputs.Textbox(label="Answer"),gr.outputs.Textbox(label="Score")]).launch()
|
|