Sephfox commited on
Commit
67ba495
·
verified ·
1 Parent(s): 4559acd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -575,7 +575,7 @@ if uploaded_file is not None:
575
  # Add this with your other UI elements
576
  show_heatmap = st.checkbox("Show Sensation Heatmap", value=True)
577
 
578
- if st.button("Simulate Interaction"):
579
  # Simulate interaction at the clicked point
580
  if clicked_points:
581
  touch_x, touch_y = clicked_points[-1]
@@ -624,7 +624,7 @@ if uploaded_file is not None:
624
  if show_heatmap:
625
  heatmap = create_heatmap(sensation_map, sensation_types.index("Pain"))
626
  st.image(heatmap, use_column_width=True)
627
-
628
  # Create a futuristic data display
629
  data_display = (
630
  "```\n"
 
575
  # Add this with your other UI elements
576
  show_heatmap = st.checkbox("Show Sensation Heatmap", value=True)
577
 
578
+ if st.button("Simulate Interaction"):
579
  # Simulate interaction at the clicked point
580
  if clicked_points:
581
  touch_x, touch_y = clicked_points[-1]
 
624
  if show_heatmap:
625
  heatmap = create_heatmap(sensation_map, sensation_types.index("Pain"))
626
  st.image(heatmap, use_column_width=True)
627
+
628
  # Create a futuristic data display
629
  data_display = (
630
  "```\n"