z-uo/male-LJSpeech-italian
Updated • 57 • 1
How to use z-uo/glowtts-male-it with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-speech", model="z-uo/glowtts-male-it") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("z-uo/glowtts-male-it", device_map="auto")Configuration Parsing Warning:Config file config.json cannot be fetched (too big)
pip install TTS
git clone https://huggingface.co/z-uo/glowtts-male-it
# predict one
server --text "ciao pluto" --model_path "glowtts-male-it/GOOD_best_model_3840.pth.tar" --config_path "glowtts-male-it/config.json"
# predict server
tts-server --model_path "glowtts-male-it/GOOD_best_model_3840.pth.tar" --config_path "glowtts-male-it/config.json"
firefox localhost:5002
More information about training script in this repo.