Sephfox commited on
Commit
402779d
1 Parent(s): 50da573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -655,7 +655,7 @@ def create_avatar():
655
  return img
656
  def create_avatar_with_heatmap(show_heatmap=True):
657
  # Load avatar image
658
- avatar_img = Image.open("avatar.png").resize((AVATAR_WIDTH, AVATAR_HEIGHT))
659
 
660
  if not show_heatmap:
661
  return avatar_img # Return the avatar image without heatmap
@@ -765,7 +765,7 @@ with col2:
765
  synesthesia = synesthesia_sens * (measured_pressure + measured_temp + measured_em) / 3
766
  else:
767
  synesthesia = "N/A"
768
-
769
  # Neural network simulation
770
  neural_inputs = [pain_level, pleasure_level, measured_pressure, measured_temp, measured_em, tickle_level, itch_level, proprioception]
771
  neural_response = NeuralNetworkSimulator.process(neural_inputs)
 
655
  return img
656
  def create_avatar_with_heatmap(show_heatmap=True):
657
  # Load avatar image
658
+ avatar_img = Image.open("avatar.png").resize((AVATAR_WIDTH 300, AVATAR_HEIGHT))
659
 
660
  if not show_heatmap:
661
  return avatar_img # Return the avatar image without heatmap
 
765
  synesthesia = synesthesia_sens * (measured_pressure + measured_temp + measured_em) / 3
766
  else:
767
  synesthesia = "N/A"
768
+
769
  # Neural network simulation
770
  neural_inputs = [pain_level, pleasure_level, measured_pressure, measured_temp, measured_em, tickle_level, itch_level, proprioception]
771
  neural_response = NeuralNetworkSimulator.process(neural_inputs)