Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ if 'image' not in st.session_state:
|
|
| 26 |
###
|
| 27 |
#####
|
| 28 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends Using Computer Vision</h1>", unsafe_allow_html=True)
|
| 29 |
-
st.markdown("<p style='text-align: center; color: black;'>Upload an image
|
| 30 |
|
| 31 |
_, row1_col2, _ = st.columns([2,3,2])
|
| 32 |
|
|
@@ -120,7 +120,7 @@ if st.session_state.image is not None:
|
|
| 120 |
_, col_1, col_2, _ = st.columns([1, 4, 4, 1], gap="medium")
|
| 121 |
with col_1:
|
| 122 |
st.write('small image 1 here')
|
| 123 |
-
|
| 124 |
with col_2:
|
| 125 |
st.image(st.session_state.image, use_column_width=True)
|
| 126 |
|
|
|
|
| 26 |
###
|
| 27 |
#####
|
| 28 |
st.markdown("<h1 style='text-align: center; color: black;'>Find Waldo and His Friends Using Computer Vision</h1>", unsafe_allow_html=True)
|
| 29 |
+
st.markdown("<p style='text-align: center; color: black;'>Upload an image using your cell phone (single book page), or select an imagefrom the below list</p>", unsafe_allow_html=True)
|
| 30 |
|
| 31 |
_, row1_col2, _ = st.columns([2,3,2])
|
| 32 |
|
|
|
|
| 120 |
_, col_1, col_2, _ = st.columns([1, 4, 4, 1], gap="medium")
|
| 121 |
with col_1:
|
| 122 |
st.write('small image 1 here')
|
| 123 |
+
st.image(pred[0])
|
| 124 |
with col_2:
|
| 125 |
st.image(st.session_state.image, use_column_width=True)
|
| 126 |
|