We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcab2c6 + 0177dd1 commit aec4cecCopy full SHA for aec4cec
src/WhisperHelper.ts
@@ -27,7 +27,7 @@ export const constructCommand = (filePath: string, args: IOptions): string => {
27
}
28
29
const modelName = MODEL_OBJECT[args.modelName as keyof typeof MODEL_OBJECT]
30
- let command = `./main ${constructOptionsFlags(args)} -l ${args.whisperOptions?.language ? args.whisperOptions?.language : 'auto'} -m ./models/${modelName} -f ${filePath}`
+ let command = `./main ${constructOptionsFlags(args)} -l ${args.whisperOptions?.language ? args.whisperOptions?.language : 'auto'} -m "./models/${modelName}" -f "${filePath}"`
31
32
return command
33
0 commit comments