Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ with st.form(key='tweet',clear_on_submit=False):
|
|
21 |
submit=st.form_submit_button('submit')
|
22 |
if submit:
|
23 |
#Check text
|
24 |
-
if text
|
25 |
st.error('Empty text')
|
26 |
else:
|
27 |
st.success('Text received',icon='✅')
|
|
|
21 |
submit=st.form_submit_button('submit')
|
22 |
if submit:
|
23 |
#Check text
|
24 |
+
if text=="":
|
25 |
st.error('Empty text')
|
26 |
else:
|
27 |
st.success('Text received',icon='✅')
|