File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class Client:
9090 ----------
9191 token : str, optional
9292 pyannoteAI API key created from https://dashboard.pyannote.ai.
93- Defaults to using `PYANNOTEAI_API_TOKEN ` environment variable.
93+ Defaults to using `PYANNOTEAI_API_KEY ` environment variable.
9494
9595 Usage
9696 -----
@@ -123,7 +123,7 @@ def _raise_for_status(self, response: Response):
123123 raise HTTPError (
124124 """
125125Failed to authenticate to pyannoteAI API. Please create an API key on https://dashboard.pyannote.ai/ and
126- provide it either via `PYANNOTEAI_API_TOKEN ` environment variable or with `token` parameter."""
126+ provide it either via `PYANNOTEAI_API_KEY ` environment variable or with `token` parameter."""
127127 )
128128
129129 # TODO: add support for other status code when
@@ -207,7 +207,7 @@ def api_key(self, api_key: str) -> None:
207207 raise ValueError (
208208 """
209209Failed to authenticate to pyannoteAI web API. Please create an API key on https://dashboard.pyannote.ai/ and
210- provide it either via `PYANNOTEAI_API_TOKEN ` environment variable or with `token` parameter."""
210+ provide it either via `PYANNOTEAI_API_KEY ` environment variable or with `token` parameter."""
211211 )
212212
213213 # store the API key and prepare the headers
You can’t perform that action at this time.
0 commit comments