shawarmabytes commited on
Commit
09bef43
·
1 Parent(s): 9e4371a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -11
app.py CHANGED
@@ -7,17 +7,12 @@ import streamlit as st
7
 
8
 
9
  st.header("stream your emotions")
10
- st.subheader("examples include:")
11
- st.caption("love: i love you")
12
- st.caption("surprise: shocking")
13
- st.caption("sadness: i feel exhausted")
14
- st.caption("joy: bro i feel so energetic")
15
- st.caption("fear: im scared of what lies ahead")
16
- st.caption("anger: you piss me off")
17
-
18
-
19
-
20
-
21
 
22
  def tester(text):
23
  classifier = pipeline("sentiment-analysis", model='bhadresh-savani/distilbert-base-uncased-emotion')
 
7
 
8
 
9
  st.header("stream your emotions")
10
+ st.caption("LOVE: i love you")
11
+ st.caption("SURPRISE: shocking")
12
+ st.caption("SADNESS: i feel exhausted")
13
+ st.caption("JOY: bro i feel so energetic")
14
+ st.caption("FEAR: im scared of what lies ahead")
15
+ st.caption("ANGER: you piss me off")
 
 
 
 
 
16
 
17
  def tester(text):
18
  classifier = pipeline("sentiment-analysis", model='bhadresh-savani/distilbert-base-uncased-emotion')