Spaces:
Sleeping
Sleeping
Fix missing segment
Browse files- 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 = [
|
| 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():
|