joey1101 commited on
Commit
0e9a20e
·
verified ·
1 Parent(s): a550bad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ text = st.text_area("Enter your comment", "")
26
  # Perform tasks when the user clicks the "Comment" button
27
  if st.button("Comment"):
28
 
29
- pipe = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base")
30
 
31
  # 使用 "j-hartmann/emotion-english-distilroberta-base" 模型进行多维度情感分类
32
  emotion_classifier = pipeline(
 
26
  # Perform tasks when the user clicks the "Comment" button
27
  if st.button("Comment"):
28
 
29
+ pipe = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base")
30
 
31
  # 使用 "j-hartmann/emotion-english-distilroberta-base" 模型进行多维度情感分类
32
  emotion_classifier = pipeline(