Translator / utils /__init__.py
nihun's picture
Upload 19 files
85c18a5 verified
"""
Utility modules for the Anime Translator application.
This package contains:
- translator: Text translation between languages
- tts_engine: Text-to-speech synthesis
- lipsync: Lip-sync animation generation
- speech_to_text: Voice input processing
- avatar_manager: Avatar image management
"""
from .translator import translate_text, detect_language
from .tts_engine import synthesize_speech
from .lipsync import generate_lipsync_gif, audio_to_rms_chunks
from .speech_to_text import transcribe_audio
from .avatar_manager import list_avatars, ensure_sample_avatar, get_avatar_preview