Spaces:
Sleeping
Sleeping
Update main_view.py
Browse files- main_view.py +2 -2
main_view.py
CHANGED
@@ -26,8 +26,8 @@ class Main_View:
|
|
26 |
if st.session_state.page == "Main":
|
27 |
col1_button, col2_button = st.columns(2,gap='medium',vertical_alignment='center')
|
28 |
with col1_button:
|
29 |
-
if st.button("
|
30 |
self.app.change_page("Upload")
|
31 |
with col2_button:
|
32 |
-
if st.button("
|
33 |
self.app.change_page("Camera")
|
|
|
26 |
if st.session_state.page == "Main":
|
27 |
col1_button, col2_button = st.columns(2,gap='medium',vertical_alignment='center')
|
28 |
with col1_button:
|
29 |
+
if st.button("Detect from image", key='main_upload', icon = ':material/imagesmode:', type = 'secondary'):
|
30 |
self.app.change_page("Upload")
|
31 |
with col2_button:
|
32 |
+
if st.button("Detect from video", key='main_camera', icon = ':material/play_circle:', type='primary'):
|
33 |
self.app.change_page("Camera")
|