-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
21 lines (17 loc) · 858 Bytes
/
.env.example
File metadata and controls
21 lines (17 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# go here https://beta.elevenlabs.io/speech-synthesis
# click on the avatar, and choose Profile to get the API KEY
# also be sure to generate custom voice and pass the ID here if you need one
ELEVEN_LABS_API_KEY=""
ELEVEN_LABS_DEFAULT_VOICE_ID=""
# if you want to use local instance of whisper through whisper.cpp
# set it up first as described here: https://github.com/ggerganov/whisper.cpp
WHISPER_BIN="/Users/you/somewhere/whisper.cpp/main"
WHISPER_MODEL="/Users/you/somewhere/whisper.cpp/models/ggml-base.bin"
# rec comes from sox
# mpg123 comes from mpg123
REC_BIN="/usr/local/bin/rec"
PLAY_BIN="/usr/local/bin/mpg123"
# get OpenAI access token from here https://platform.openai.com/account/api-keys
OPENAI_ACCESS_TOKEN=""
# we lame if you're using local voice to convert from aiff file generated by say command to mp3
LAME_BIN="/usr/local/bin/lame"