Vijish commited on
Commit
477c58b
1 Parent(s): 957c485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -135,11 +135,11 @@ if app_mode == SIDEBAR_OPTION_DEMO_IMAGE:
135
  colour = (40, 96, 219)
136
  else:
137
  colour = (249, 223, 2)
138
- pressed = st.sidebar.button('PoP')
139
- if pressed:
140
- st.empty()
141
- st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')
142
- predict(option,colour)
143
 
144
  elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
145
  uploaded_file = st.file_uploader("Choose an image...")
 
135
  colour = (40, 96, 219)
136
  else:
137
  colour = (249, 223, 2)
138
+ pressed = st.sidebar.button('PoP')
139
+ if pressed:
140
+ st.empty()
141
+ st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')
142
+ predict(option,colour)
143
 
144
  elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
145
  uploaded_file = st.file_uploader("Choose an image...")