how to use this in a program? #864
Replies: 3 comments 3 replies
-
It is not TTS. It is gTTS not related at all |
Beta Was this translation helpful? Give feedback.
-
That's why I wrote "like something like this for the google TTS" I'm looking for a way to integrate coqui-tts into a program so I gave an example of what I'm looking for, using another TTS so you could extrapolate what I'm looking for. Well I found at least the command line for example but as I said I'm looking more for a way to implemt this in to a python program importing coqui TTS as module: _from tts import TTS s = "this is a test!" tts = TTS(s, 'tts_models/en/ljspeech/tacotron2-DDC_ph','TRUE',file)_ And yes I know that the above does not work... I just want to know if there is a way to import tts as a module? |
Beta Was this translation helpful? Give feedback.
-
Maybe my project cTTS is helpful in that case. |
Beta Was this translation helpful? Give feedback.
-
this might be a super stupid question but where is the documentation on how to code with this?
like something like this for the google TTS:
from gtts import gTTS
import os
s = "this is a test!"
file = "file.mp3"
tts = gTTS(s, 'en')
tts.save(file)
Beta Was this translation helpful? Give feedback.
All reactions