Clean up config and STT naming
This commit is contained in:
parent
b74aaaa1c4
commit
8c68719041
9 changed files with 42 additions and 98 deletions
15
README.md
15
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# lel
|
||||
|
||||
Python X11 transcription daemon that records audio, runs Whisper, logs the transcript, and can optionally run AI post-processing before injecting text.
|
||||
Python X11 STT daemon that records audio, runs Whisper, logs the transcript, and can optionally run AI post-processing before injecting text.
|
||||
|
||||
## Requirements
|
||||
|
||||
|
|
@ -35,11 +35,10 @@ Create `~/.config/lel/config.json`:
|
|||
{
|
||||
"daemon": { "hotkey": "Cmd+m" },
|
||||
"recording": { "input": "0" },
|
||||
"transcription": { "model": "base", "device": "cpu" },
|
||||
"stt": { "model": "base", "device": "cpu" },
|
||||
"injection": { "backend": "clipboard" },
|
||||
|
||||
"ai_cleanup": {
|
||||
"enabled": true,
|
||||
"model": "llama3.2:3b",
|
||||
"temperature": 0.0,
|
||||
"base_url": "http://localhost:11434",
|
||||
|
|
@ -48,14 +47,6 @@ Create `~/.config/lel/config.json`:
|
|||
}
|
||||
```
|
||||
|
||||
Env overrides:
|
||||
|
||||
- `WHISPER_MODEL`, `WHISPER_DEVICE`
|
||||
- `WHISPER_FFMPEG_IN` (device index or name)
|
||||
- `LEL_HOTKEY`, `LEL_INJECTION_BACKEND`
|
||||
- `LEL_AI_CLEANUP_ENABLED`, `LEL_AI_CLEANUP_MODEL`, `LEL_AI_CLEANUP_TEMPERATURE`
|
||||
- `LEL_AI_CLEANUP_BASE_URL`, `LEL_AI_CLEANUP_API_KEY`
|
||||
|
||||
Recording input can be a device index (preferred) or a substring of the device
|
||||
name.
|
||||
|
||||
|
|
@ -72,7 +63,7 @@ systemctl --user enable --now lel
|
|||
## Usage
|
||||
|
||||
- Press the hotkey once to start recording.
|
||||
- Press it again to stop and transcribe.
|
||||
- Press it again to stop and run STT.
|
||||
- The transcript is logged to stderr.
|
||||
|
||||
Injection backends:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue