Spaces:
Sleeping
Sleeping
added a title page
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ from transformers import pipeline
|
|
| 5 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
| 6 |
text = st.text_area('Enter given text here')
|
| 7 |
|
|
|
|
|
|
|
| 8 |
if text:
|
| 9 |
out = pipe(text)
|
| 10 |
st.json(out)
|
|
|
|
| 5 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
| 6 |
text = st.text_area('Enter given text here')
|
| 7 |
|
| 8 |
+
st.title ('Check the sentiment of your email before sending it out😎😭😁😔❤️')
|
| 9 |
+
|
| 10 |
if text:
|
| 11 |
out = pipe(text)
|
| 12 |
st.json(out)
|