Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -488,7 +488,7 @@ def generate_ai_response(keypoints, sensation_map):
|
|
488 |
st.subheader("Avatar with Sensation Heatmap")
|
489 |
|
490 |
# You need to define sensation_map and sensation_type before this
|
491 |
-
sensation_map = np.random.rand(AVATAR_HEIGHT 600, AVATAR_WIDTH, 300) # Example random sensation map
|
492 |
sensation_type = 0 # Example sensation type (0 for Pain)
|
493 |
|
494 |
avatar_with_heatmap = create_avatar_with_heatmap(sensation_map, sensation_type)
|
|
|
488 |
st.subheader("Avatar with Sensation Heatmap")
|
489 |
|
490 |
# You need to define sensation_map and sensation_type before this
|
491 |
+
sensation_map = np.random.rand(AVATAR_HEIGHT, 600, AVATAR_WIDTH, 300) # Example random sensation map
|
492 |
sensation_type = 0 # Example sensation type (0 for Pain)
|
493 |
|
494 |
avatar_with_heatmap = create_avatar_with_heatmap(sensation_map, sensation_type)
|