Spaces:
Sleeping
Sleeping
Fix calcSpeakingTypes bug
Browse files- sonogram_utility.py +1 -1
sonogram_utility.py
CHANGED
|
@@ -414,7 +414,7 @@ def calcSpeakingTypes(pipeline,myAnnotation,maxTime):
|
|
| 414 |
# [group,individual,silence], each as (start,duration)
|
| 415 |
for seg in categorySegmentList[0]:
|
| 416 |
if seg[0] == 'group':
|
| 417 |
-
mvAnnotation[
|
| 418 |
else:
|
| 419 |
mvAnnotation[seg[1]] = seg[0]
|
| 420 |
for seg in categorySegmentList[1]:
|
|
|
|
| 414 |
# [group,individual,silence], each as (start,duration)
|
| 415 |
for seg in categorySegmentList[0]:
|
| 416 |
if seg[0] == 'group':
|
| 417 |
+
mvAnnotation[seg[1]] = 'unclear'
|
| 418 |
else:
|
| 419 |
mvAnnotation[seg[1]] = seg[0]
|
| 420 |
for seg in categorySegmentList[1]:
|