sifujohn commited on
Commit
db73f9e
β€’
1 Parent(s): cc2d8c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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