Commit
·
b9afdcb
1
Parent(s):
f058301
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"]//stride*stride, value["y"]//stride*stride
|
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"]//stride*stride-8, value["y"]//stride*stride-8
|
139 |
|
140 |
if point != st.session_state["point"]:
|
141 |
st.session_state["point"]=point
|