ariym/whisper-node

Input file path does not work with whitespaces and needs to be escaped before calling whisper lib

Opened this issue · 0 comments

That pretty much it, when passing a path to the whisper lib, it sends the command to the cpp app as plain text. Since the path can have spaces, the end command passes the path as different arguments.

Atm I solve it with const transcript = await whisper(`"${_destPath}"`, options);