yxmauw commited on
Commit
05b4098
1 Parent(s): 6502abd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def predict_upload():
31
 
32
  # instantiate submit button
33
  if st.button('Classify'):
34
- if new_img not None:
35
  with st.sidebar:
36
  try:
37
  predict_upload()
 
31
 
32
  # instantiate submit button
33
  if st.button('Classify'):
34
+ if new_img is not None:
35
  with st.sidebar:
36
  try:
37
  predict_upload()