feat: implement prompt caching (-c) and source language bypass (--lang)
This commit is contained in:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user