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