mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
fix: fix default parameters handling
This commit is contained in:
1 parent
ed62899261
commit
13bc78c616
2 files changed
+2
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user