Skip to content

Commit

Permalink
Updated server configuration docs with Hugging Face model term accept…
Browse files Browse the repository at this point in the history
…ance
  • Loading branch information
trzy committed Feb 19, 2024
1 parent 3bda79c commit 4494e3c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/server_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ deepgram:

### 6. Obtain a Hugging Face API Token for Whisper and Speaker Identification Models

- Register a [Hugging Face](https://huggingface.co) account and obtain a token (these are found under "Access Tokens" in "Settings"). This is needed for asynchronous Whisper (if enabled) and the SpeechBrain speaker verification model. For example:
- Register a [Hugging Face](https://huggingface.co) account and obtain a token (these are found under "Access Tokens" in "Settings").
- Owl uses PyAnnote for diarization. Please visit the following Hugging Face model pages and accept the terms for each:
- [PyAnnote Segmentation Model](https://huggingface.co/pyannote/segmentation)
- [PyAnnote Speaker Diarization Model](https://huggingface.co/pyannote/speaker-diarization)
- The Hugging Face token is needed for asynchronous Whisper transcription (if enabled) and the SpeechBrain speaker verification model. For example:

```
async_whisper:
Expand All @@ -86,4 +90,12 @@ async_whisper:

- Run the server as per the [setup instructions](../README.md#server-setup) with `--config=config.yaml`.

### 8. Environment Variables

Configuration file keys can be overridden with environment variables. The format is `OWL_SECTION_KEY_NAME`. For example, the Hugging Face token under the `async_whisper` section can be set in e.g. bash with:

```
export OWL_ASYNC_WHISPER_HF_TOKEN=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
```

[<< Home](../README.md)

0 comments on commit 4494e3c

Please sign in to comment.