push app
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ if "img" in st.session_state:
|
|
| 105 |
# If a new coordinate is received and it's not already in our list, add it and force a rerun.
|
| 106 |
if new_coord and new_coord not in st.session_state.coords_list:
|
| 107 |
is_close = False
|
| 108 |
-
for coord in st.
|
| 109 |
if np.linalg.norm(coord, new_coord) < 10:
|
| 110 |
is_close = True
|
| 111 |
break
|
|
|
|
| 105 |
# If a new coordinate is received and it's not already in our list, add it and force a rerun.
|
| 106 |
if new_coord and new_coord not in st.session_state.coords_list:
|
| 107 |
is_close = False
|
| 108 |
+
for coord in st.session_state.coords_list:
|
| 109 |
if np.linalg.norm(coord, new_coord) < 10:
|
| 110 |
is_close = True
|
| 111 |
break
|