Files
Code/python/tool-speechtotext/terminal.sh
dl92 7f3ea89297 voice_to_terminal#1
automate terminal with voice
2026-01-14 01:46:31 +00:00

7 lines
282 B
Bash
Executable File

#!/bin/bash
export CT2_CUDA_ALLOW_FP16=1
# 'mamba run' executes the command within the context of the environment
# without needing to source .bashrc or shell hooks manually.
mamba run -n whisper-ollama python ~/family-repo/Code/python/tool-speechtotext/voice_to_terminal.py "$@"