sergioska commited on
Commit
7a2b20e
·
1 Parent(s): 6e6c277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,7 +39,7 @@ with col1:
39
 
40
  imageLocation = st.empty()
41
 
42
- if uploaded_image_zero_file is not None and !st.session_state['wip']:
43
  image = Image.open(uploaded_image_zero_file)
44
  outputImage = np.array(image)
45
  predictions = detector(
@@ -48,7 +48,7 @@ with col1:
48
  )
49
  imageLocation.image(outputImage)
50
 
51
- if st.button('detect') and !st.session_state['wip']:
52
 
53
  draw = ImageDraw.Draw(image)
54
 
 
39
 
40
  imageLocation = st.empty()
41
 
42
+ if uploaded_image_zero_file is not None and not st.session_state['wip']:
43
  image = Image.open(uploaded_image_zero_file)
44
  outputImage = np.array(image)
45
  predictions = detector(
 
48
  )
49
  imageLocation.image(outputImage)
50
 
51
+ if st.button('detect') and not st.session_state['wip']:
52
 
53
  draw = ImageDraw.Draw(image)
54