Spaces:
Runtime error
Runtime error
Commit
·
d15328c
1
Parent(s):
cb85517
minor fix
Browse files- diarization.py +1 -2
diarization.py
CHANGED
@@ -17,8 +17,7 @@ def start_diarization(input_file, progress: gr.Progress):
|
|
17 |
|
18 |
sample_groups = []
|
19 |
speaker_groups = {}
|
20 |
-
|
21 |
-
for turn, _, speaker, _ in zip(iterables, progress.tqdm(iterables, desc="Processing diarization")):
|
22 |
if (speaker not in sample_groups):
|
23 |
sample_groups.append(str(speaker))
|
24 |
|
|
|
17 |
|
18 |
sample_groups = []
|
19 |
speaker_groups = {}
|
20 |
+
for turn, _, speaker in diarization.itertracks(yield_label=True):
|
|
|
21 |
if (speaker not in sample_groups):
|
22 |
sample_groups.append(str(speaker))
|
23 |
|