ElBeh commited on
Commit
38ac5fc
·
verified ·
1 Parent(s): 1383ffa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,10 +69,10 @@ st.divider()
69
 
70
  file_name = st.file_uploader("Choose an image...")
71
 
72
- st.button("re-run classification", type="primary")
73
 
74
 
75
- if file_name is not None:
76
  col1, col2 = st.columns(2)
77
  image = Image.open(file_name)
78
  image = ImageOps.exif_transpose(image)
 
69
 
70
  file_name = st.file_uploader("Choose an image...")
71
 
72
+ #st.button("execute classification", type="primary")
73
 
74
 
75
+ if file_name is not None and st.button("execute classification"):
76
  col1, col2 = st.columns(2)
77
  image = Image.open(file_name)
78
  image = ImageOps.exif_transpose(image)