Skip to content

Fix api/sts#154

Open
jstrot wants to merge 2 commits into
toverainc:mainfrom
qualIP:qip-api-sts-fix
Open

Fix api/sts#154
jstrot wants to merge 2 commits into
toverainc:mainfrom
qualIP:qip-api-sts-fix

Conversation

@jstrot
Copy link
Copy Markdown

@jstrot jstrot commented May 29, 2024

The sts API seems to expect an old syntax of the do_tts function which returns only a result instead of a tuple.
With the fixed syntax, I can successfully use the api/sts endpoint.

Also including a change to do_whisper to raise a NotImplementedError(model) when the model is not recognized instead of erroring out due to a undefined whisper_model variable which looks like a bug instead of an invalid input.

jstrot added 2 commits May 29, 2024 02:55
Without this, there will be a Python error about the `whisper_model`
variable not being defined which may cause confusion or may look like a
bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant