Ashendilantha commited on
Commit
090583a
·
verified ·
1 Parent(s): 3a5f15a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ nltk.download('omw-1.4')
15
 
16
  # Load Models
17
  news_classifier = pipeline("text-classification", model="Oneli/News_Classification")
18
- qa_pipeline = pipeline("question-answering", model="deepset/roberta-base-squad2")
19
 
20
  # Label Mapping
21
  label_mapping = {
 
15
 
16
  # Load Models
17
  news_classifier = pipeline("text-classification", model="Oneli/News_Classification")
18
+ qa_pipeline = pipeline("question-answering", model="distilbert-base-cased-distilled-squad")
19
 
20
  # Label Mapping
21
  label_mapping = {