File size: 534 Bytes
249e06d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """
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
|