Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,9 +93,6 @@ async def diarize(
|
|
| 93 |
# min_duration_off=0.1 means silence gaps >= 100ms split speakers.
|
| 94 |
# Previously pyannote used its defaults (~500ms) which caused
|
| 95 |
# brief utterances in short meetings to be silently dropped.
|
| 96 |
-
diarize_kwargs["min_duration_on"] = 0.1
|
| 97 |
-
diarize_kwargs["min_duration_off"] = 0.1
|
| 98 |
-
|
| 99 |
diarization = pipeline(tmp_path, **diarize_kwargs)
|
| 100 |
|
| 101 |
segments = []
|
|
|
|
| 93 |
# min_duration_off=0.1 means silence gaps >= 100ms split speakers.
|
| 94 |
# Previously pyannote used its defaults (~500ms) which caused
|
| 95 |
# brief utterances in short meetings to be silently dropped.
|
|
|
|
|
|
|
|
|
|
| 96 |
diarization = pipeline(tmp_path, **diarize_kwargs)
|
| 97 |
|
| 98 |
segments = []
|