Spaces:
Runtime error
Runtime error
Commit
·
18b038a
1
Parent(s):
e3a07aa
Updated app.py
Browse files
app.py
CHANGED
@@ -49,13 +49,13 @@ def main(options):
|
|
49 |
with col1:
|
50 |
if 'c01' not in st.session_state:
|
51 |
st.session_state.c01=False
|
52 |
-
|
53 |
-
|
54 |
|
55 |
if 'c02' not in st.session_state:
|
56 |
st.session_state.c02=False
|
57 |
-
|
58 |
-
|
59 |
if c01_state:
|
60 |
|
61 |
with col1:
|
|
|
49 |
with col1:
|
50 |
if 'c01' not in st.session_state:
|
51 |
st.session_state.c01=False
|
52 |
+
c01_state=st.session_state.c01
|
53 |
+
c01_state=st.sidebar.checkbox('Take a picture for prediction',value=c01_state)
|
54 |
|
55 |
if 'c02' not in st.session_state:
|
56 |
st.session_state.c02=False
|
57 |
+
c02_state=st.session_state.c02
|
58 |
+
c02_state=st.sidebar.checkbox('Detect',value=c02_state)
|
59 |
if c01_state:
|
60 |
|
61 |
with col1:
|