Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,10 @@ classifier = pipeline("text-classification", model='djohari/EmployeeEmotionAnaly
|
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification")
|
9 |
st.write("Classification for 6 emotions: sadness, joy, love, anger, fear, surprise")
|
|
|
10 |
|
11 |
# Text input for user to enter the text to classify
|
12 |
-
text = st.text_area("
|
13 |
|
14 |
# Perform text classification when the user clicks the "Classify" button
|
15 |
if st.button("Classify"):
|
|
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification")
|
9 |
st.write("Classification for 6 emotions: sadness, joy, love, anger, fear, surprise")
|
10 |
+
st.write("Please note: this is a model for Text Classification and can only work with input text")
|
11 |
|
12 |
# Text input for user to enter the text to classify
|
13 |
+
text = st.text_area("Add your Employee Reviews in the box to classify", "")
|
14 |
|
15 |
# Perform text classification when the user clicks the "Classify" button
|
16 |
if st.button("Classify"):
|