-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
26 lines (21 loc) · 887 Bytes
/
.env
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
# passed to --input-uri (see main.py)
INPUT_URI=http://model-hosting.beng.nl/whisper-test.mp3
# passed to --output-uri (see main.py)
OUTPUT_URI=s3://x-omg-daan-av/assets/2101608150135908031__NOS_JOURNAAL_-WON01207359/
# make sure to mount these dirs into the container (see docker-compose.yml)
DATA_BASE_DIR=./data
MODEL_BASE_DIR=./model
# make sure to get a valid endpoint from a CODEOWNER
S3_ENDPOINT_URL=https://some_url
# your AWS credentials for the S3 bucket in question
AWS_ACCESS_KEY_ID=your-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
# Whisper related settings
W_WORD_TIMESTAMPS=y # or n
W_DEVICE=cuda # "cpu" to run on CPU, otherwise "cuda" to run on GPU
W_VAD=y # whether to use voice activity detection (VAD) or not
W_MODEL=large-v2 # check the README for available options
W_BEAM_SIZE=5
W_BEST_OF=5
W_BATCH_SIZE=55
W_TEMPERATURE="(0.0,0.2,0.4,0.6,0.8,1.0)"