mirror of https://github.com/coqui-ai/TTS.git
Update hubconf.py
This commit is contained in:
parent
dbf1a08a0d
commit
cb5d9bad41
|
@ -10,7 +10,7 @@ from TTS.utils.synthesizer import Synthesizer
|
||||||
def tts(model_name='tts_models/en/ljspeech/tacotron2-DCA',
|
def tts(model_name='tts_models/en/ljspeech/tacotron2-DCA',
|
||||||
vocoder_name=None,
|
vocoder_name=None,
|
||||||
use_cuda=False):
|
use_cuda=False):
|
||||||
"""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 given text.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
>>> synthesizer = torch.hub.load('coqui-ai/TTS', 'tts', source='github')
|
>>> synthesizer = torch.hub.load('coqui-ai/TTS', 'tts', source='github')
|
||||||
|
|
Loading…
Reference in New Issue