feat: Upgrade Whisper model to medium and increase beam size
- Change default model from small to medium for better accuracy - Increase beam_size from 5 to 8 for improved transcription quality - Add Whisper environment variables to start.sh for centralized config 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
5
start.sh
5
start.sh
@@ -22,6 +22,11 @@ SIDECAR_DIR="$PROJECT_DIR/sidecar"
|
||||
# Port 設定
|
||||
BACKEND_PORT=8000
|
||||
|
||||
# Whisper 語音轉文字設定
|
||||
export WHISPER_MODEL="medium" # 模型大小: tiny, base, small, medium, large
|
||||
export WHISPER_DEVICE="cpu" # 執行裝置: cpu, cuda
|
||||
export WHISPER_COMPUTE="int8" # 運算精度: int8, float16, float32
|
||||
|
||||
# PID 檔案
|
||||
PID_FILE="$PROJECT_DIR/.running_pids"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user