File size: 1,136 Bytes
b56d19a
 
 
 
 
 
 
 
ba81a8e
b56d19a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ba81a8e
b56d19a
 
ba81a8e
 
b56d19a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Open WebUI

### Using the UI

1. Go to the [Admin Settings](http://localhost:8080/admin/settings) page
2. Click on the "Audio" tab
3. Update settings
   - Speech-to-Text Engine: OpenAI
   - API Base URL: http://speaches:8000/v1
   - API Key: does-not-matter-what-you-put-but-should-not-be-empty
   - Model: Systran/faster-distil-whisper-large-v3
4. Click "Save"

### Using environment variables (Docker Compose)

!!! warning

    This doesn't seem to work when you've previously used the UI to set the STT engine.

```yaml
# NOTE: Some parts of the file are omitted for brevity.
services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    ...
    environment:
      ...
      # Environment variables are documented here https://docs.openwebui.com/getting-started/env-configuration#speech-to-text
      AUDIO_STT_ENGINE: "openai"
      AUDIO_STT_OPENAI_API_BASE_URL: "http://speaches:8000/v1"
      AUDIO_STT_OPENAI_API_KEY: "does-not-matter-what-you-put-but-should-not-be-empty"
      AUDIO_STT_MODEL: "Systran/faster-distil-whisper-large-v3"
  speaches:
    image: ghcr.io/speaches-ai/speaches:latest-cuda
    ...
```