Spaces:
Sleeping
Sleeping
vickeee465
commited on
Commit
·
74fed9b
1
Parent(s):
0bade3d
remove duplicate function call causing the bug the whole time
Browse files
app.py
CHANGED
@@ -95,7 +95,6 @@ def prepare_heatmap_data(data):
|
|
95 |
return heatmap_data
|
96 |
|
97 |
def plot_emotion_heatmap(data):
|
98 |
-
heatmap_data = prepare_heatmap_data(data)
|
99 |
fig = plt.figure(figsize=(10, len(data) * 0.5 + 2))
|
100 |
sns.heatmap(heatmap_data, annot=True, cmap="coolwarm", cbar=True, linewidths=0.5, linecolor='gray')
|
101 |
plt.title("Emotion Confidence Heatmap")
|
|
|
95 |
return heatmap_data
|
96 |
|
97 |
def plot_emotion_heatmap(data):
|
|
|
98 |
fig = plt.figure(figsize=(10, len(data) * 0.5 + 2))
|
99 |
sns.heatmap(heatmap_data, annot=True, cmap="coolwarm", cbar=True, linewidths=0.5, linecolor='gray')
|
100 |
plt.title("Emotion Confidence Heatmap")
|