Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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")
|