Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
@@ -52,7 +52,6 @@ thresholds = {"joy": 0.99,"anger": 0.95,"surprise": 0.95,"sadness": 0.98,"fear":
|
|
52 |
|
53 |
color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue","fear": "orange","love": "purple",}
|
54 |
|
55 |
-
|
56 |
def create_fig(x_min, x_max, plot_sentences):
|
57 |
x, y = list(zip(*to_plot))
|
58 |
|
|
|
52 |
|
53 |
color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue","fear": "orange","love": "purple",}
|
54 |
|
|
|
55 |
def create_fig(x_min, x_max, plot_sentences):
|
56 |
x, y = list(zip(*to_plot))
|
57 |
|