Avatar-Speech / backend /config_wrapper.py
agkavin
Initial commit: speech_to_video project with models via LFS
249e06d
"""
Backend config module - wrapper for standalone speech_to_video
This allows musetalk.processor to import from backend.config
"""
import sys
from pathlib import Path
# Add this directory to path so imports work
_backend_dir = Path(__file__).parent
if str(_backend_dir) not in sys.path:
sys.path.insert(0, str(_backend_dir))
# Re-export from local config
from speech_to_video.backend.config import * # noqa: F401, F403
# Also import ModelBundle for processor
from backend.models.loader import ModelBundle # noqa: F401, F403