Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ nltk.download('stopwords')
|
|
8 |
nltk.download('wordnet')
|
9 |
|
10 |
# Initialize the zero-shot classification pipeline
|
11 |
-
classifier = pipeline("zero-shot-classification", model="facebook/bart-large")
|
12 |
|
13 |
# Define the candidate labels according to the Enneagram types
|
14 |
default_labels = ["Peacemaker", "Loyalist", "Achiever", "Reformer", "Individualist", "Helper", "Challenger", "Investigator", "Enthusiast"]
|
|
|
8 |
nltk.download('wordnet')
|
9 |
|
10 |
# Initialize the zero-shot classification pipeline
|
11 |
+
classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
12 |
|
13 |
# Define the candidate labels according to the Enneagram types
|
14 |
default_labels = ["Peacemaker", "Loyalist", "Achiever", "Reformer", "Individualist", "Helper", "Challenger", "Investigator", "Enthusiast"]
|