Sephfox commited on
Commit
a244cb0
·
verified ·
1 Parent(s): f9cb84b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -577,8 +577,8 @@ if uploaded_file is not None:
577
 
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
  (
 
577
 
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
  (