Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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 = {
|