Skip to content

Commit

Permalink
Merge pull request #6 from Explosion-Scratch/main-1
Browse files Browse the repository at this point in the history
Add language flag
  • Loading branch information
ChetanXpro authored Jan 15, 2024
2 parents 5bb0142 + af607e6 commit 166738e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WhisperHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@ const constructOptionsFlags = (args: IOptions) => {
if (args?.whisperOptions?.splitOnWord) {
flag += `-sow true `
}
if (args?.whisperOptions?.language){

Check failure on line 70 in src/WhisperHelper.ts

View workflow job for this annotation

GitHub Actions / typecheck

Property 'language' does not exist on type 'WhisperOptions'.
flag += `-l ${args.whisperOptions.language}`

Check failure on line 71 in src/WhisperHelper.ts

View workflow job for this annotation

GitHub Actions / typecheck

Property 'language' does not exist on type 'WhisperOptions'.
}
return flag
}

0 comments on commit 166738e

Please sign in to comment.