yt-whisper
yt-whisper copied to clipboard
feat: manual device selection
Closes #11
chocies: cuda
, cpu
yt_whisper "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --device cpu
yt_whisper "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --device cuda
If --device
is not provided, default will be cuda if available else cpu (as implemented in the whisper model).
Can this be merged? This appears to be defaulting to running on the CPU for me and I'm not sure why...
Nevermind, I just had to update my pytorch library :)