Wisdom882 commited on
Commit
aa3cf1a
·
1 Parent(s): e72a375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -8,9 +8,7 @@ st.markdown('This text is :red[colored red], and this is **:blue[colored]** and
8
  st.write("""##### This demo identifies the emotional tone behind a body of text. :sunglasses:""")
9
  text = st.text_area('Enter some text in the box below!')
10
 
11
- result = st.button("click here")
12
- if result:
13
- st.text("wisdom sentiment")
14
- if text:
15
  out = pipe(text)
16
  st.table(out)
 
8
  st.write("""##### This demo identifies the emotional tone behind a body of text. :sunglasses:""")
9
  text = st.text_area('Enter some text in the box below!')
10
 
11
+ result = st.button("or click here")
12
+ if text || result:
 
 
13
  out = pipe(text)
14
  st.table(out)