Skip to content

Commit

Permalink
fix merge error
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Lee <[email protected]>
  • Loading branch information
dave-gray101 committed Jun 9, 2024
1 parent 6270b3f commit 756d4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cli/tts.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (t *TTSCMD) Run(ctx *cliContext.Context) error {
Language: t.Language,
}

ttsbs := backend.NewTextToSpeechBackendService(ml, config.NewBackendConfigLoader(), opts)
ttsbs := backend.NewTextToSpeechBackendService(ml, config.NewBackendConfigLoader(opts.ModelPath), opts)

jr := ttsbs.TextToAudioFile(request)
filePathPtr, err := jr.Wait()
Expand Down

0 comments on commit 756d4da

Please sign in to comment.