Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ if 'image_counter' not in st.session_state:
|
|
| 43 |
if 'model' not in st.session_state:
|
| 44 |
st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
|
| 45 |
|
| 46 |
-
_, row0_col1, _ = st.columns([
|
| 47 |
_, row1_col1, _ = st.columns([2,3,2])
|
| 48 |
|
| 49 |
|
|
@@ -63,7 +63,6 @@ if st.session_state.screen == 0:
|
|
| 63 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends</h1>", unsafe_allow_html=True)
|
| 64 |
st.markdown("<h3 style='text-align: center; color: black;'>Using Computer Vision</h3>", unsafe_allow_html=True)
|
| 65 |
st.markdown("<p style='text-align: left; color: black;'>This tool allows you to take a photo with your phone of a <i>Where's Waldo?</i> book page. Using the computer vision model YOLOv8-large, this tool find Waldo and his friends Wenda, Odlaw, Wizard, and Woof.</p>", unsafe_allow_html=True)
|
| 66 |
-
st.markdown("<p style='text-align: left; color: black;'>Once the model has loaded, this screen will automatically change.</p>", unsafe_allow_html=True)
|
| 67 |
if st.button(f"Proceed", key="Proceed"):
|
| 68 |
st.session_state.screen = 1
|
| 69 |
st.rerun()
|
|
|
|
| 43 |
if 'model' not in st.session_state:
|
| 44 |
st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
|
| 45 |
|
| 46 |
+
_, row0_col1, _ = st.columns([2,3,2])
|
| 47 |
_, row1_col1, _ = st.columns([2,3,2])
|
| 48 |
|
| 49 |
|
|
|
|
| 63 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends</h1>", unsafe_allow_html=True)
|
| 64 |
st.markdown("<h3 style='text-align: center; color: black;'>Using Computer Vision</h3>", unsafe_allow_html=True)
|
| 65 |
st.markdown("<p style='text-align: left; color: black;'>This tool allows you to take a photo with your phone of a <i>Where's Waldo?</i> book page. Using the computer vision model YOLOv8-large, this tool find Waldo and his friends Wenda, Odlaw, Wizard, and Woof.</p>", unsafe_allow_html=True)
|
|
|
|
| 66 |
if st.button(f"Proceed", key="Proceed"):
|
| 67 |
st.session_state.screen = 1
|
| 68 |
st.rerun()
|