Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,6 @@ st.write("""##### This demo identifies the emotional tone behind a body of text.
|
|
| 9 |
text = st.text_area('Enter some text in the box below!')
|
| 10 |
|
| 11 |
result = st.button("or click here")
|
| 12 |
-
if text
|
| 13 |
out = pipe(text)
|
| 14 |
st.table(out)
|
|
|
|
| 9 |
text = st.text_area('Enter some text in the box below!')
|
| 10 |
|
| 11 |
result = st.button("or click here")
|
| 12 |
+
if text or result:
|
| 13 |
out = pipe(text)
|
| 14 |
st.table(out)
|