enoreyes commited on
Commit
0f37532
1 Parent(s): f4a0f65

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +0 -5
utils.py CHANGED
@@ -44,11 +44,6 @@ def split(text):
44
  sentences = [s.strip() for s in sentences]
45
  return sentences
46
 
47
- # display if the sentiment value is above these thresholds
48
- thresholds = {"joy": 0.99,"anger": 0.95,"surprise": 0.95,"sadness": 0.98,"fear": 0.95,"love": 0.99,}
49
-
50
- color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue","fear": "orange","love": "purple",}
51
-
52
  def create_fig(x_min, x_max, to_plot, plot_sentences):
53
  x, y = list(zip(*to_plot))
54
 
 
44
  sentences = [s.strip() for s in sentences]
45
  return sentences
46
 
 
 
 
 
 
47
  def create_fig(x_min, x_max, to_plot, plot_sentences):
48
  x, y = list(zip(*to_plot))
49