Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ except ValueError as e:
|
|
18 |
summarizer_loaded = False
|
19 |
|
20 |
# Load the Question classification pipeline
|
21 |
-
model_name = "
|
22 |
try:
|
23 |
classifier = pipeline("text-classification", model=model_name, return_all_scores=True)
|
24 |
classifier_loaded = True
|
|
|
18 |
summarizer_loaded = False
|
19 |
|
20 |
# Load the Question classification pipeline
|
21 |
+
model_name = "Emily666666/bert-base-cased-news-category-test"
|
22 |
try:
|
23 |
classifier = pipeline("text-classification", model=model_name, return_all_scores=True)
|
24 |
classifier_loaded = True
|