Junr-syl commited on
Commit
aa02adf
·
1 Parent(s): 72640a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='✅')