-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
21 lines (16 loc) · 964 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Configuration for Whisper.cpp server
# Server Configuration
WHISPERCPP_PORT=8080 # Port the server listens on
WHISPERCPP_MODEL=../models/ggml-base.en.bin
# User and Group Configuration
WHISPERCPP_USER=whispercpp # User under which the server runs
WHISPERCPP_GROUP=whispercpp # Group under which the server runs
# Logging Configuration
WHISPERCPP_LOG_LEVEL=info # Logging level (debug, info, warn, error)
WHISPERCPP_LOG_FILE=/opt/whispercpp/logs/whispercpp.log # Path to log file
# Audio Configuration
WHISPERCPP_AUDIO_DEVICE=default # ALSA audio device (default or specific device name)
WHISPERCPP_SAMPLE_RATE=16000 # Audio sample rate (e.g., 16000 Hz for Whisper models)
# Paths for Additional Dependencies
WHISPERCPP_FFMPEG_BIN=/usr/bin/ffmpeg # Path to ffmpeg binary
WHISPERCPP_AUDIO_TMP_DIR=/opt/whispercpp/tmp/audio # Temporary directory for audio processing