mirror of https://github.com/coqui-ai/TTS.git
replace urls
This commit is contained in:
parent
2e7fdf8f9d
commit
0a61ea3b2d
|
@ -9,7 +9,7 @@ def tts(model_name='tts_models/en/ljspeech/tacotron2-DCA', vocoder_name=None, us
|
||||||
"""TTS entry point for PyTorch Hub that provides a Synthesizer object to synthesize speech from a give text.
|
"""TTS entry point for PyTorch Hub that provides a Synthesizer object to synthesize speech from a give text.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
>>> synthesizer = torch.hub.load('mozilla/TTS', 'tts', source='github')
|
>>> synthesizer = torch.hub.load('coqui-ai/TTS', 'tts', source='github')
|
||||||
>>> wavs = synthesizer.tts("This is a test! This is also a test!!")
|
>>> wavs = synthesizer.tts("This is a test! This is also a test!!")
|
||||||
wavs - is a list of values of the synthesized speech.
|
wavs - is a list of values of the synthesized speech.
|
||||||
|
|
||||||
|
@ -33,5 +33,5 @@ def tts(model_name='tts_models/en/ljspeech/tacotron2-DCA', vocoder_name=None, us
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
synthesizer = torch.hub.load('mozilla/TTS:hub_conf', 'tts', source='github')
|
synthesizer = torch.hub.load('coqui-ai/TTS:hub_conf', 'tts', source='github')
|
||||||
synthesizer.tts("This is a test!")
|
synthesizer.tts("This is a test!")
|
||||||
|
|
Loading…
Reference in New Issue