mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-05-12 21:08:11 +08:00
12 lines
327 B
Python
12 lines
327 B
Python
from __future__ import annotations
|
|
|
|
import importlib
|
|
|
|
__all__ = ["TTS", "TextPreprocessor", "text_segmentation_method", "t2s_scheduler"]
|
|
|
|
|
|
def __getattr__(name: str):
|
|
if name in __all__:
|
|
return importlib.import_module(f"{__name__}.{name}")
|
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|