diff options
Diffstat (limited to 'dot_local/bin/executable_dictate')
| -rw-r--r-- | dot_local/bin/executable_dictate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dot_local/bin/executable_dictate b/dot_local/bin/executable_dictate index ae8b14c..dbf89b6 100644 --- a/dot_local/bin/executable_dictate +++ b/dot_local/bin/executable_dictate @@ -65,9 +65,9 @@ stop_and_transcribe() { text="$( whisper-cli -m "$model" -f "$wav_file" \ - -l "$lang" -nt -np -t "$(nproc)" 2>"$log_file" \ - | tr -s '[:space:]' ' ' \ - | sed -e 's/^ //; s/ $//' + -l "$lang" -nt -np -t "$(nproc)" 2>"$log_file" | + tr -s '[:space:]' ' ' | + sed -e 's/^ //; s/ $//' )" if [ -z "$text" ]; then |
