Update README.md
Browse files
README.md
CHANGED
@@ -72,15 +72,15 @@ top_5 = sorted_preds[:5]
|
|
72 |
|
73 |
print("\nTop 5 emotions detected:")
|
74 |
for pred in top_5:
|
75 |
-
print(f"{pred['label']}: {pred['score']:.3f}")
|
76 |
|
77 |
-
|
78 |
# Top 5 emotions detected:
|
79 |
-
#
|
80 |
-
#
|
81 |
-
#
|
82 |
-
#
|
83 |
-
#
|
84 |
```
|
85 |
|
86 |
|
|
|
72 |
|
73 |
print("\nTop 5 emotions detected:")
|
74 |
for pred in top_5:
|
75 |
+
print(f"\t{pred['label']:10s} : {pred['score']:.3f}")
|
76 |
|
77 |
+
## Example output:
|
78 |
# Top 5 emotions detected:
|
79 |
+
# excitement : 0.937
|
80 |
+
# joy : 0.915
|
81 |
+
# desire : 0.022
|
82 |
+
# love : 0.020
|
83 |
+
# admiration : 0.017
|
84 |
```
|
85 |
|
86 |
|