Khaled21 commited on
Commit
66b4a7c
·
1 Parent(s): 6a6ddb1
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,4 +8,6 @@ pipe = pipeline(task="text-classification", model=model_name)
8
  user_text = st.text_area("Explain your feelings here")
9
 
10
  if user_text:
11
- st.markdown(user_text)
 
 
 
8
  user_text = st.text_area("Explain your feelings here")
9
 
10
  if user_text:
11
+ emotion = pipe(user_text)
12
+ st.markdown("You are feeling like ")
13
+ st.json(emotion)