Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|