Spaces:
Sleeping
Sleeping
skanderovitch
commited on
Commit
•
cabb6d5
1
Parent(s):
b0bb9db
Update app.py
Browse files
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>
|
198 |
c1.button('Train',on_click=train,args=[])
|
199 |
-
if st.session_state.count ==
|
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=[])
|