Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_emotion_profile(text):
|
|
19 |
emotion_pipeline = hf_pipeline(
|
20 |
"text-classification",
|
21 |
model="j-hartmann/emotion-english-distilroberta-base",
|
22 |
-
top_k=
|
23 |
truncation=True
|
24 |
)
|
25 |
|
|
|
19 |
emotion_pipeline = hf_pipeline(
|
20 |
"text-classification",
|
21 |
model="j-hartmann/emotion-english-distilroberta-base",
|
22 |
+
top_k=6,
|
23 |
truncation=True
|
24 |
)
|
25 |
|