Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ if 'model' not in st.session_state:
|
|
| 39 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends</h1>", unsafe_allow_html=True)
|
| 40 |
st.markdown("<h3 style='text-align: center; color: black;'>Using Computer Vision</h3>", unsafe_allow_html=True)
|
| 41 |
st.markdown("<p style='text-align: center; 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. The model takes about 30 seconds to load before the fun begins. Please be patient...\nOnce the model has loaded, this screen will automatically change.</p>", unsafe_allow_html=True)
|
| 42 |
-
st.image("/home/user/app/home_page_images/Waldo_Friends.
|
| 43 |
st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
|
| 44 |
|
| 45 |
#####
|
|
|
|
| 39 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends</h1>", unsafe_allow_html=True)
|
| 40 |
st.markdown("<h3 style='text-align: center; color: black;'>Using Computer Vision</h3>", unsafe_allow_html=True)
|
| 41 |
st.markdown("<p style='text-align: center; 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. The model takes about 30 seconds to load before the fun begins. Please be patient...\nOnce the model has loaded, this screen will automatically change.</p>", unsafe_allow_html=True)
|
| 42 |
+
st.image("/home/user/app/home_page_images/Waldo_Friends.jpg", use_column_width=True)
|
| 43 |
st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
|
| 44 |
|
| 45 |
#####
|