Clean up config and STT naming
This commit is contained in:
parent
b74aaaa1c4
commit
8c68719041
9 changed files with 42 additions and 98 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
## Project Structure & Module Organization
|
||||
|
||||
- `src/leld.py` is the primary entrypoint (X11 transcription daemon).
|
||||
- `src/leld.py` is the primary entrypoint (X11 STT daemon).
|
||||
- `src/recorder.py` handles audio capture using PortAudio via `sounddevice`.
|
||||
- `src/transcription.py` wraps faster-whisper for transcription.
|
||||
- `src/stt.py` wraps faster-whisper for STT.
|
||||
|
||||
## Build, Test, and Development Commands
|
||||
|
||||
|
|
@ -29,5 +29,5 @@
|
|||
|
||||
## Configuration Tips
|
||||
|
||||
- Audio input is controlled via `WHISPER_FFMPEG_IN` (device index or name).
|
||||
- Model, language, device, and extra args can be set with `WHISPER_MODEL`, `WHISPER_LANG`, `WHISPER_DEVICE`, and `WHISPER_EXTRA_ARGS`.
|
||||
- Audio input is configured via the `recording.input` field in `config.json`.
|
||||
- STT model and device are configured via the `stt` section in `config.json`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue