mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test_audio_speech_litellm
This commit is contained in:
parent
d8e5938f54
commit
1feb13e76a
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ import litellm
|
|||
"model, api_key, api_base",
|
||||
[
|
||||
(
|
||||
"azure/azure-tts",
|
||||
"azure/tts",
|
||||
os.getenv("AZURE_SWEDEN_API_KEY"),
|
||||
os.getenv("AZURE_SWEDEN_API_BASE"),
|
||||
),
|
||||
|
|
@ -44,6 +44,7 @@ import litellm
|
|||
@pytest.mark.asyncio
|
||||
@pytest.mark.flaky(retries=3, delay=1)
|
||||
async def test_audio_speech_litellm(sync_mode, model, api_base, api_key):
|
||||
litellm._turn_on_debug()
|
||||
speech_file_path = Path(__file__).parent / "speech.mp3"
|
||||
|
||||
if sync_mode:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue