Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -578,7 +578,7 @@ if uploaded_file is not None:
|
|
578 |
if st.button("Simulate Interaction"):
|
579 |
# Simulate interaction at the clicked point
|
580 |
if 'clicked_points' in locals() and clicked_points:
|
581 |
-
|
582 |
|
583 |
sensation = sensation_map[touch_y, touch_x]
|
584 |
(
|
|
|
578 |
if st.button("Simulate Interaction"):
|
579 |
# Simulate interaction at the clicked point
|
580 |
if 'clicked_points' in locals() and clicked_points:
|
581 |
+
touch_x, touch_y = clicked_points[-1]
|
582 |
|
583 |
sensation = sensation_map[touch_y, touch_x]
|
584 |
(
|