vickeee465 commited on
Commit
74fed9b
·
1 Parent(s): 0bade3d

remove duplicate function call causing the bug the whole time

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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")