MeloTTS
Collection
2 items • Updated
How to use mobilint/MeloTTS-Korean with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-speech", model="mobilint/MeloTTS-Korean") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("mobilint/MeloTTS-Korean", dtype="auto")How to use mobilint/MeloTTS-Korean with Mobilint:
# pip install mblt-model-zoo
from mblt_model_zoo.vision import MBLT_Engine
model = MBLT_Engine(
model_cls="MeloTTS-Korean",
model_type="DEFAULT",
model_path="",
core_mode="global8",
)
try:
image = model.preprocess("path/to/image.jpg")
output = model(image)
result = model.postprocess(output)
finally:
model.dispose()
Base model
myshell-ai/MeloTTS-Korean