Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ from transformers import pipeline
|
|
3 |
|
4 |
st.title("Predict Emotion of Social Media Post")
|
5 |
|
6 |
-
pipeline = pipeline("
|
7 |
|
8 |
-
text = st.write("Enter a social media post
|
9 |
|
10 |
if text:
|
11 |
out =pipe(text)
|
|
|
3 |
|
4 |
st.title("Predict Emotion of Social Media Post")
|
5 |
|
6 |
+
pipeline = pipeline("sentiment-analysis", "Jingni/transient_data" )
|
7 |
|
8 |
+
text = st.write("Enter a social media post here:")
|
9 |
|
10 |
if text:
|
11 |
out =pipe(text)
|