Kokoro-TTS-Zero / lib /__init__.py
Remsky's picture
Add audio and text utility modules, update requirements, and revise README
cb7f5d0
raw
history blame contribute delete
734 Bytes
from .text_utils import normalize_text, chunk_text, count_tokens
from .file_utils import (
load_module_from_file,
download_model_files,
list_voice_files,
download_voice_files,
ensure_dir
)
from .audio_utils import (
convert_float_to_int16,
get_audio_duration,
format_audio_output,
concatenate_audio_chunks
)
__all__ = [
# Text utilities
'normalize_text',
'chunk_text',
'count_tokens',
# File utilities
'load_module_from_file',
'download_model_files',
'list_voice_files',
'download_voice_files',
'ensure_dir',
# Audio utilities
'convert_float_to_int16',
'get_audio_duration',
'format_audio_output',
'concatenate_audio_chunks'
]