Puree commited on
Commit
499b261
1 Parent(s): 7f8feae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,10 +12,10 @@ from transformers import pipeline
12
 
13
  classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base")
14
  def main():
15
- st.title("Yelp review")
16
 
17
  with st.form("text_field"):
18
- text = st.text_area('enter some text:')
19
  # clicked==True only when the button is clicked
20
  clicked = st.form_submit_button("Submit")
21
  if clicked:
 
12
 
13
  classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base")
14
  def main():
15
+ st.title("Emotion(ENG) classification")
16
 
17
  with st.form("text_field"):
18
+ text = st.text_area('enter your text:')
19
  # clicked==True only when the button is clicked
20
  clicked = st.form_submit_button("Submit")
21
  if clicked: