$ ml translate openai /Users/tt/Desktop/COMP4560/ko\ audio.mp3
Usage: translate [OPTIONS] [FILENAME]
Try 'translate --help' for help.
Error: Got unexpected extra argument (audio.mp3)
So we have to quote the file path manually like $ ml translate openai "/Users/tt/Desktop/COMP4560/ko\ audio.mp3" to avoid running into the error.
But if we use Whisper command (e.g. $ whisper /Users/tt/Desktop/COMP4560/ko\ audio.mp3 --model small), it works fine without having quotation marks around the file path.
So we have to quote the file path manually like
$ ml translate openai "/Users/tt/Desktop/COMP4560/ko\ audio.mp3"
to avoid running into the error.But if we use Whisper command (e.g.
$ whisper /Users/tt/Desktop/COMP4560/ko\ audio.mp3 --model small
), it works fine without having quotation marks around the file path.