yingzhi commited on
Commit
06fbb52
·
1 Parent(s): c6f13d8

add output example

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -69,6 +69,14 @@ classifier = foreign_class(
69
  )
70
  diary = classifier.diarize_file("speechbrain/emotion-diarization-wavlm-large/example.wav")
71
  print(diary)
 
 
 
 
 
 
 
 
72
  ```
73
  The output will contain a dictionary of emotion components and their boundaries.
74
 
 
69
  )
70
  diary = classifier.diarize_file("speechbrain/emotion-diarization-wavlm-large/example.wav")
71
  print(diary)
72
+
73
+ # {
74
+ # 'speechbrain/emotion-diarization-wavlm-large/example.wav':
75
+ # [
76
+ # {'start': 0.0, 'end': 1.94, 'emotion': 'n'}, # n -> neutral
77
+ # {'start': 1.94, 'end': 4.48, 'emotion': 'h'} # h -> happy
78
+ # ]
79
+ # }
80
  ```
81
  The output will contain a dictionary of emotion components and their boundaries.
82