multimodalart's picture
multimodalart HF Staff
Upload folder using huggingface_hub
85a30fe verified
Raw
History Blame
739 Bytes
import warnings
from importlib.metadata import PackageNotFoundError, version
warnings.filterwarnings("ignore", module="torchaudio")
warnings.filterwarnings(
"ignore",
category=SyntaxWarning,
message="invalid escape sequence",
module="pydub.utils",
)
warnings.filterwarnings(
"ignore",
category=FutureWarning,
module="torch.distributed.algorithms.ddp_comm_hooks",
)
try:
__version__ = version("omnivoice")
except PackageNotFoundError:
__version__ = "0.0.0"
from omnivoice.models.omnivoice import (
OmniVoice,
OmniVoiceConfig,
OmniVoiceGenerationConfig,
VoiceClonePrompt,
)
__all__ = [
"OmniVoice",
"OmniVoiceConfig",
"OmniVoiceGenerationConfig",
"VoiceClonePrompt",
]