|
|
@ -7,6 +7,11 @@ ALL_LOCAL=False
|
|
|
|
# WHISPER_MODEL_PATH=...
|
|
|
|
# WHISPER_MODEL_PATH=...
|
|
|
|
# OPENAI_API_KEY=sk-...
|
|
|
|
# OPENAI_API_KEY=sk-...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# For TTS, we use the en_US-lessac-medium voice model by default
|
|
|
|
|
|
|
|
# Please change the voice URL and voice name if you wish to use another voice
|
|
|
|
|
|
|
|
export PIPER_VOICE_URL="https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/lessac/medium/"
|
|
|
|
|
|
|
|
export PIPER_VOICE_NAME="en_US-lessac-medium.onnx"
|
|
|
|
|
|
|
|
|
|
|
|
# If SERVER_START, this is where we'll serve the server.
|
|
|
|
# If SERVER_START, this is where we'll serve the server.
|
|
|
|
# If DEVICE_START, this is where the device expects the server to be.
|
|
|
|
# If DEVICE_START, this is where the device expects the server to be.
|
|
|
|
SERVER_URL=ws://localhost:8000/
|
|
|
|
SERVER_URL=ws://localhost:8000/
|
|
|
@ -22,5 +27,5 @@ STT_RUNNER=device # If server, audio will be sent over websocket.
|
|
|
|
SERVER_EXPOSE_PUBLICALLY=False
|
|
|
|
SERVER_EXPOSE_PUBLICALLY=False
|
|
|
|
|
|
|
|
|
|
|
|
# Debug level
|
|
|
|
# Debug level
|
|
|
|
# DEBUG_LEVEL=DEBUG
|
|
|
|
# LOG_LEVEL=DEBUG
|
|
|
|
DEBUG_LEVEL="INFO"
|
|
|
|
LOG_LEVEL="INFO"
|