From d04ca7f65ed85c1eadd8f08b97f47019b5f95a5a Mon Sep 17 00:00:00 2001 From: Keating Reid Date: Fri, 6 Dec 2024 15:50:41 +0000 Subject: [PATCH] Fix incorrect type hint --- pyannote/audio/core/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyannote/audio/core/pipeline.py b/pyannote/audio/core/pipeline.py index 7b005610b..9052e876f 100644 --- a/pyannote/audio/core/pipeline.py +++ b/pyannote/audio/core/pipeline.py @@ -98,7 +98,7 @@ def from_pretrained( hparams_file: Union[Text, Path] = None, use_auth_token: Union[Text, None] = None, cache_dir: Union[Path, Text] = CACHE_DIR, - ) -> "Pipeline": + ) -> "Pipeline" | None: """Load pretrained pipeline Parameters