Spaces:
Runtime error
Runtime error
shawarmabytes
commited on
Commit
•
7c10707
1
Parent(s):
7f3ab7e
Update app.py
Browse files
app.py
CHANGED
@@ -77,8 +77,22 @@ def tester(text):
|
|
77 |
return results[0]['label']
|
78 |
#return results
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
emo = st.text_input("Enter your text/phrase/sentence for emotion classification. A corresponding song will be recommended based on your emotion ")
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
tester(emo)
|
83 |
|
84 |
|
|
|
77 |
return results[0]['label']
|
78 |
#return results
|
79 |
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
|
84 |
+
st.header("stream your emotions")
|
85 |
+
|
86 |
emo = st.text_input("Enter your text/phrase/sentence for emotion classification. A corresponding song will be recommended based on your emotion ")
|
87 |
+
|
88 |
+
st.write("Examples: You look wonderful tonight")
|
89 |
+
st.write("")
|
90 |
+
st.write("I am exhausted.")
|
91 |
+
st.write("")
|
92 |
+
st.write("I feel energetic.")
|
93 |
+
st.write("")
|
94 |
+
st.write("bro you scared me there")
|
95 |
+
|
96 |
tester(emo)
|
97 |
|
98 |
|