Commit
·
0152864
1
Parent(s):
77f11a6
updates
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ with col1:
|
|
135 |
value = streamlit_image_coordinates(current_image, key="pil")
|
136 |
|
137 |
if value is not None:
|
138 |
-
point = value["x"]//32, value["y"]//32
|
139 |
|
140 |
if point != st.session_state["point"]:
|
141 |
st.session_state["point"]=point
|
|
|
135 |
value = streamlit_image_coordinates(current_image, key="pil")
|
136 |
|
137 |
if value is not None:
|
138 |
+
point = value["x"]//32*32, value["y"]//32*32
|
139 |
|
140 |
if point != st.session_state["point"]:
|
141 |
st.session_state["point"]=point
|