Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
|
|
|
|
|
|
|
5 |
#buidling a sentiment pipeline
|
6 |
|
7 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
8 |
|
9 |
-
#give a title to app
|
10 |
-
st.title ('Check the sentiment of your email before sending it outππππβ€οΈ')
|
11 |
-
|
12 |
#text field for user to input data
|
13 |
text = st.text_area('Enter given text here')
|
14 |
|
|
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
#give a title to app
|
6 |
+
name = st.title ('Check the sentiment of your email before sending it outππππβ€οΈ')
|
7 |
+
|
8 |
#buidling a sentiment pipeline
|
9 |
|
10 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
11 |
|
|
|
|
|
|
|
12 |
#text field for user to input data
|
13 |
text = st.text_area('Enter given text here')
|
14 |
|