Spaces:
Sleeping
Sleeping
vickeee465
commited on
Commit
·
bdce241
1
Parent(s):
484e051
debug print
Browse files
app.py
CHANGED
|
@@ -114,6 +114,7 @@ def plot_emotion_heatmap(heatmap_data):
|
|
| 114 |
|
| 115 |
fig, ax = plt.subplots(figsize=(len(heatmap_data.columns) * 0.5 + 4, len(heatmap_data.index) * 0.5 + 2))
|
| 116 |
|
|
|
|
| 117 |
for i, emotion in enumerate(heatmap_data.index):
|
| 118 |
# Create custom colormap for each row
|
| 119 |
base_color = emotion_colors[emotion]
|
|
|
|
| 114 |
|
| 115 |
fig, ax = plt.subplots(figsize=(len(heatmap_data.columns) * 0.5 + 4, len(heatmap_data.index) * 0.5 + 2))
|
| 116 |
|
| 117 |
+
print(heatmap_data) # debug
|
| 118 |
for i, emotion in enumerate(heatmap_data.index):
|
| 119 |
# Create custom colormap for each row
|
| 120 |
base_color = emotion_colors[emotion]
|