vickeee465 commited on
Commit
bba8601
·
1 Parent(s): 66aa5d9

debugging heatmap transposing thing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def prepare_heatmap_data(data):
101
 
102
 
103
  def plot_emotion_heatmap(heatmap_data):
104
- heatmap_data = heatmap_data.T # Transpose to: rows = emotions, cols = sentences
105
 
106
  # Normalize all values to [0, 1] for each emotion
107
  normalized_data = heatmap_data.copy()
 
101
 
102
 
103
  def plot_emotion_heatmap(heatmap_data):
104
+ # heatmap_data = heatmap_data.T # Transpose to: rows = emotions, cols = sentences
105
 
106
  # Normalize all values to [0, 1] for each emotion
107
  normalized_data = heatmap_data.copy()