Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def remove_parentheses(text):
|
|
51 |
distilbert_base_uncased = pipeline(model="Nighter/QA_wiki_data_short_answer", from_tf=True)
|
52 |
bert_base_uncased = pipeline(model="Nighter/QA_bert_base_uncased_wiki_data_short_answer", from_tf=True)
|
53 |
roberta_base = pipeline(model="Nighter/QA_wiki_data_roberta_base_short_answer", from_tf=True)
|
54 |
-
longformer_base =
|
55 |
|
56 |
# Function to answer on all models
|
57 |
def answer_questions(context, question):
|
|
|
51 |
distilbert_base_uncased = pipeline(model="Nighter/QA_wiki_data_short_answer", from_tf=True)
|
52 |
bert_base_uncased = pipeline(model="Nighter/QA_bert_base_uncased_wiki_data_short_answer", from_tf=True)
|
53 |
roberta_base = pipeline(model="Nighter/QA_wiki_data_roberta_base_short_answer", from_tf=True)
|
54 |
+
longformer_base = pipeline(model="Nighter/Fine-tuned-longformer-base")
|
55 |
|
56 |
# Function to answer on all models
|
57 |
def answer_questions(context, question):
|