skanderovitch commited on
Commit
cabb6d5
1 Parent(s): b0bb9db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -194,9 +194,9 @@ if st.session_state.name:
194
  key = get_s3_url(filename)
195
  cc1.image(key, width = 400)
196
  c1,c2 = cc2.columns(2)
197
- if st.session_state.count>30 and st.session_state.pos > 5 and st.session_state.neg > 5:
198
  c1.button('Train',on_click=train,args=[])
199
- if st.session_state.count == 31:
200
  st.balloons()
201
  st.toast('Ready for training')
202
  c2.button('Start over',on_click=cleanup,args=[])
 
194
  key = get_s3_url(filename)
195
  cc1.image(key, width = 400)
196
  c1,c2 = cc2.columns(2)
197
+ if st.session_state.count>40 and st.session_state.pos > 5 and st.session_state.neg > 5:
198
  c1.button('Train',on_click=train,args=[])
199
+ if st.session_state.count == 41:
200
  st.balloons()
201
  st.toast('Ready for training')
202
  c2.button('Start over',on_click=cleanup,args=[])