fix(main.py): add logging to audio_transcription calls

This commit is contained in:
Krrish Dholakia 2024-05-30 16:57:11 -07:00
parent 93166cdabf
commit d65b7fe01b
5 changed files with 37 additions and 1 deletions

View file

@ -4164,6 +4164,7 @@ def transcription(
return response
@client
async def aspeech(*args, **kwargs) -> HttpxBinaryResponseContent:
"""
Calls openai tts endpoints.
@ -4204,6 +4205,7 @@ async def aspeech(*args, **kwargs) -> HttpxBinaryResponseContent:
)
@client
def speech(
model: str,
input: str,