Spaces:
Runtime error
Runtime error
codevlogger2003
commited on
Commit
·
e3a07aa
1
Parent(s):
9379b48
Updated app.py
Browse files
app.py
CHANGED
@@ -43,18 +43,19 @@ def main(options):
|
|
43 |
image=None
|
44 |
original_image=None
|
45 |
|
46 |
-
|
47 |
-
st.session_state.c01=False
|
48 |
-
c01_state=st.session_state.c01
|
49 |
-
c01_state=st.sidebar.checkbox('Take a picture for prediction',value=c01_state)
|
50 |
-
|
51 |
-
if 'c02' not in st.session_state:
|
52 |
-
st.session_state.c02=False
|
53 |
-
c02_state=st.session_state.c02
|
54 |
-
c02_state=st.sidebar.checkbox('Detect',value=c02_state)
|
55 |
|
56 |
|
57 |
with col1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
if c01_state:
|
59 |
|
60 |
with col1:
|
|
|
43 |
image=None
|
44 |
original_image=None
|
45 |
|
46 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
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:
|