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:
@@ -368,7 +368,7 @@ class Transcriber:
|
||||
segments, info = self.model.transcribe(
|
||||
audio_path,
|
||||
language="zh", # Use "nan" for Taiwanese/Hokkien, "zh" for Mandarin
|
||||
beam_size=5,
|
||||
beam_size=8,
|
||||
vad_filter=True,
|
||||
word_timestamps=add_punctuation,
|
||||
# Anti-hallucination settings
|
||||
|
||||
Reference in New Issue
Block a user