fix: Change default Whisper model from small to medium

Align the default model in transcriber.py with config.json setting.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
egg
2025-12-17 07:36:32 +08:00
parent d3e3205692
commit 3dd667197f

View File

@@ -683,7 +683,7 @@ class Transcriber:
def main(): def main():
model_size = os.environ.get("WHISPER_MODEL", "small") model_size = os.environ.get("WHISPER_MODEL", "medium")
device = os.environ.get("WHISPER_DEVICE", "cpu") device = os.environ.get("WHISPER_DEVICE", "cpu")
compute_type = os.environ.get("WHISPER_COMPUTE", "int8") compute_type = os.environ.get("WHISPER_COMPUTE", "int8")