diff --git a/pyproject.toml b/pyproject.toml index b3227cb2..afb1fbb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "torchmetrics>=1.6.1", "soundfile>=0.13.1", "matplotlib>=3.10.0", - "pyannoteai-sdk>=0.2.0", + "pyannoteai-sdk>=0.2.1", ] [project.scripts] diff --git a/src/pyannote/audio/pipelines/pyannoteai/local.py b/src/pyannote/audio/pipelines/pyannoteai/local.py index 08c73676..75e6be14 100644 --- a/src/pyannote/audio/pipelines/pyannoteai/local.py +++ b/src/pyannote/audio/pipelines/pyannoteai/local.py @@ -34,7 +34,7 @@ class Local(Pipeline): ---------- token : str, optional pyannoteAI API key created from https://dashboard.pyannote.ai. - Defaults to using `PYANNOTEAI_API_TOKEN` environment variable. + Defaults to using `PYANNOTEAI_API_KEY` environment variable. Usage ----- diff --git a/src/pyannote/audio/pipelines/pyannoteai/sdk.py b/src/pyannote/audio/pipelines/pyannoteai/sdk.py index ac30448a..979b4d3e 100644 --- a/src/pyannote/audio/pipelines/pyannoteai/sdk.py +++ b/src/pyannote/audio/pipelines/pyannoteai/sdk.py @@ -40,7 +40,7 @@ class SDK(Pipeline): Defaults to "precision-2". token : str, optional pyannoteAI API key created from https://dashboard.pyannote.ai. - Defaults to using `PYANNOTEAI_API_TOKEN` environment variable. + Defaults to using `PYANNOTEAI_API_KEY` environment variable. Usage -----