Skip to content

MeetWq/MockingBirdForUse

Repository files navigation

实时语音克隆 - 中文/普通话

mockingbird

原项目地址:MockingBird

使用示例

from pathlib import Path
from mockingbirdforuse import MockingBird

mockingbird = MockingBird()
mockingbird.load_model(
    Path("saved_models/encoder.pt"),
    Path("saved_models/hifigan.pt"),
)
mockingbird.set_synthesizer(Path("azusa.pt"))
output = mockingbird.synthesize("主播不是你的电梓播放器", Path("record.wav"))  # output type: BytesIO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages