djohari commited on
Commit
6b1cdde
1 Parent(s): 2b73ddc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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("Enter the text to classify", "")
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"):