feat: implement prompt caching (-c) and source language bypass (--lang)

This commit is contained in:
Adolfo Reyna
2026-02-28 19:21:16 -05:00
parent c519907846
commit ce4809a2b7
2 changed files with 28 additions and 4 deletions
+2
View File
@@ -57,6 +57,8 @@ Run the script using `python3 transcribe.py` with optional flags.
- `-d`, `--device [ID]`: Input device index (bypasses selection prompt).
- `-q`, `--quantize`: Use 4-bit quantized Whisper model for faster transcription (Strategy 3).
- `-s`, `--stream`: Enable real-time streaming transcription/draft mode (Strategy 1).
- `-c`, `--context`: Enable prompt caching/rolling context to help the model maintain sentence continuity across chunks.
- `--lang [CODE]`: Hardcode the source language (e.g., `en`, `es`) to bypass automatic language detection for faster processing.
---