Nighter commited on
Commit
0d0475c
1 Parent(s): 3226385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = load_model('models/Nighter/Fine-tuned-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):