czyoung commited on
Commit
9b477b6
·
verified ·
1 Parent(s): bbe1239

Fix missing segment

Browse files
Files changed (1) hide show
  1. sonogram_utility.py +1 -1
sonogram_utility.py CHANGED
@@ -316,7 +316,7 @@ def calcCategories(myAnnotation,categories):
316
  return cleanCategories,extraCategories
317
 
318
  def calcSpeakingTypes(myAnnotation,maxTime):
319
- noVoice = [[0,maxTime]]
320
  oneVoice = []
321
  multiVoice = []
322
  for speaker in myAnnotation.labels():
 
316
  return cleanCategories,extraCategories
317
 
318
  def calcSpeakingTypes(myAnnotation,maxTime):
319
+ noVoice = [Segment(0,maxTime)]
320
  oneVoice = []
321
  multiVoice = []
322
  for speaker in myAnnotation.labels():