Spaces:
Runtime error
Runtime error
Commit
·
09bef43
1
Parent(s):
9e4371a
Update app.py
Browse files
app.py
CHANGED
@@ -7,17 +7,12 @@ import streamlit as st
|
|
7 |
|
8 |
|
9 |
st.header("stream your emotions")
|
10 |
-
st.
|
11 |
-
st.caption("
|
12 |
-
st.caption("
|
13 |
-
st.caption("
|
14 |
-
st.caption("
|
15 |
-
st.caption("
|
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')
|