cirimus commited on
Commit
729b3ef
·
verified ·
1 Parent(s): cf5b842

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
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
- # 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
 
 
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