Skip to content

Filename with imbedded spaces not handled correctly #279

@Ting-TT

Description

@Ting-TT
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions