Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with tab2:
|
|
107 |
img = Image.open(uploaded_file)
|
108 |
st.image(img, caption="Uploaded Image", use_column_width=True)
|
109 |
|
110 |
-
max_pixels = st.slider("Max number of pixels to encode", min_value=32, max_value=
|
111 |
|
112 |
binary_labels = image_to_binary_labels(img, max_pixels=max_pixels)
|
113 |
|
|
|
107 |
img = Image.open(uploaded_file)
|
108 |
st.image(img, caption="Uploaded Image", use_column_width=True)
|
109 |
|
110 |
+
max_pixels = st.slider("Max number of pixels to encode", min_value=32, max_value=4112, value=2056, step=32)
|
111 |
|
112 |
binary_labels = image_to_binary_labels(img, max_pixels=max_pixels)
|
113 |
|