buzz/tests/audio.py
Raivis Dejus 38f5d26672
Adding fix for multi-byte segments in whisper.cpp (#734)
Co-authored-by: Chidi Williams <williamschidi1@gmail.com>
2024-05-14 23:29:43 +00:00

9 lines
No EOL
262 B
Python

import os.path
test_audio_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../testdata/whisper-french.mp3")
)
test_multibyte_utf8_audio_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../testdata/whisper-latvian.wav")
)