padmalcom / tts-hifigan-german

huggingface.co
Total runs: 5
24-hour runs: 0
7-day runs: 2
30-day runs: 0
Model's Last Updated: January 06 2023
text-to-speech

Introduction of tts-hifigan-german

Model Details of tts-hifigan-german

Vocoder with HiFIGAN trained on custom German dataset

This repository provides all the necessary tools for using a HiFIGAN vocoder trained on a generated German dataset using mp3_to_training_data .

The pre-trained model (8 epochs so far) takes in input a spectrogram and produces a waveform in output. Typically, a vocoder is used after a TTS model that converts an input text into a spectrogram.

How to use

Install speechbrain.

pip install speechbrain

Use a TTS model (e.g. tts-tacotron-german ), generate a spectrogram and convert it to audio.

import torchaudio
from speechbrain.pretrained import Tacotron2
from speechbrain.pretrained import HIFIGAN

tacotron2 = Tacotron2.from_hparams(source="padmalcom/tts-tacotron2-german", savedir="tmpdir_tts")
hifi_gan = HIFIGAN.from_hparams(source="padmalcom/tts-hifigan-german", savedir="tmpdir_vocoder")

mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")

waveforms = hifi_gan.decode_batch(mel_output)

torchaudio.save('example_TTS.wav',waveforms.squeeze(1), 22050)
Inference on GPU

To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.

Runs of padmalcom tts-hifigan-german on huggingface.co

5
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
0
30-day runs

More Information About tts-hifigan-german huggingface.co Model

More tts-hifigan-german license Visit here:

https://choosealicense.com/licenses/apache-2.0

tts-hifigan-german huggingface.co

tts-hifigan-german huggingface.co is an AI model on huggingface.co that provides tts-hifigan-german's model effect (), which can be used instantly with this padmalcom tts-hifigan-german model. huggingface.co supports a free trial of the tts-hifigan-german model, and also provides paid use of the tts-hifigan-german. Support call tts-hifigan-german model through api, including Node.js, Python, http.

tts-hifigan-german huggingface.co Url

https://huggingface.co/padmalcom/tts-hifigan-german

padmalcom tts-hifigan-german online free

tts-hifigan-german huggingface.co is an online trial and call api platform, which integrates tts-hifigan-german's modeling effects, including api services, and provides a free online trial of tts-hifigan-german, you can try tts-hifigan-german online for free by clicking the link below.

padmalcom tts-hifigan-german online free url in huggingface.co:

https://huggingface.co/padmalcom/tts-hifigan-german

tts-hifigan-german install

tts-hifigan-german is an open source model from GitHub that offers a free installation service, and any user can find tts-hifigan-german on GitHub to install. At the same time, huggingface.co provides the effect of tts-hifigan-german install, users can directly use tts-hifigan-german installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

tts-hifigan-german install url in huggingface.co:

https://huggingface.co/padmalcom/tts-hifigan-german

Url of tts-hifigan-german

tts-hifigan-german huggingface.co Url

Provider of tts-hifigan-german huggingface.co

padmalcom
ORGANIZATIONS

Other API from padmalcom