huimanho commited on
Commit
60b3725
1 Parent(s): ae5f779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ if st.button("Analyze"):
33
  st.write(f"**Rating:** {prediction + 1} out of 5")
34
 
35
  # Sentiment Classification
36
- sentiment = pipe3(english_text)[0]['label']
37
 
38
  # Display sentiment
39
  st.subheader("Sentiment Analysis")
 
33
  st.write(f"**Rating:** {prediction + 1} out of 5")
34
 
35
  # Sentiment Classification
36
+ sentiment = pipe3(chinese_text)[0]['label']
37
 
38
  # Display sentiment
39
  st.subheader("Sentiment Analysis")