From 13bc78c616d8d426921a2c5fcf2628754767fa05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20BREDIN?= Date: Fri, 22 Sep 2023 21:55:41 +0200 Subject: [PATCH] fix: fix default parameters handling --- pyannote/audio/pipelines/overlapped_speech_detection.py | 2 +- pyannote/audio/pipelines/voice_activity_detection.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyannote/audio/pipelines/overlapped_speech_detection.py b/pyannote/audio/pipelines/overlapped_speech_detection.py index 1c9790fe..c09a7784 100644 --- a/pyannote/audio/pipelines/overlapped_speech_detection.py +++ b/pyannote/audio/pipelines/overlapped_speech_detection.py @@ -165,7 +165,7 @@ class OverlappedSpeechDetection(Pipeline): "min_duration_off": 0.144, } - elif self.segmentation == "pyannote/segmentation-3.0.0": + elif self.segmentation == "pyannote/segmentation-3.0": return { "min_duration_on": 0.0, "min_duration_off": 0.0, diff --git a/pyannote/audio/pipelines/voice_activity_detection.py b/pyannote/audio/pipelines/voice_activity_detection.py index f67489b6..16771c0a 100644 --- a/pyannote/audio/pipelines/voice_activity_detection.py +++ b/pyannote/audio/pipelines/voice_activity_detection.py @@ -149,7 +149,7 @@ class VoiceActivityDetection(Pipeline): "min_duration_off": 0.067, } - elif self.segmentation == "pyannote/segmentation-3.0.0": + elif self.segmentation == "pyannote/segmentation-3.0": return { "min_duration_on": 0.0, "min_duration_off": 0.0,