nixos/wyoming/faster-whisper: pass device config to executable
The device could previously be configured but wasn't wired up to do anything meaningful and as such always defaulted to CPU.
This commit is contained in:
parent
b27bf82fba
commit
4f971ebf3c
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ in
|
||||||
--data-dir $STATE_DIRECTORY \
|
--data-dir $STATE_DIRECTORY \
|
||||||
--download-dir $STATE_DIRECTORY \
|
--download-dir $STATE_DIRECTORY \
|
||||||
--uri ${options.uri} \
|
--uri ${options.uri} \
|
||||||
|
--device ${options.device} \
|
||||||
--model ${options.model} \
|
--model ${options.model} \
|
||||||
--language ${options.language} \
|
--language ${options.language} \
|
||||||
--beam-size ${options.beamSize} ${options.extraArgs}
|
--beam-size ${options.beamSize} ${options.extraArgs}
|
||||||
|
|
Loading…
Reference in a new issue