SamanthaStorm commited on
Commit
916e8c1
·
verified ·
1 Parent(s): 31de5e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=None,
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