Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ nltk.download('wordnet')
|
|
| 27 |
|
| 28 |
# Load Models
|
| 29 |
news_classifier = pipeline("text-classification", model="Oneli/News_Classification")
|
| 30 |
-
qa_pipeline = pipeline("question-answering", model="
|
| 31 |
|
| 32 |
# Label Mapping
|
| 33 |
label_mapping = {
|
|
|
|
| 27 |
|
| 28 |
# Load Models
|
| 29 |
news_classifier = pipeline("text-classification", model="Oneli/News_Classification")
|
| 30 |
+
qa_pipeline = pipeline("question-answering", model="distilbert-base-cased-distilled-squad")
|
| 31 |
|
| 32 |
# Label Mapping
|
| 33 |
label_mapping = {
|