mirror of https://github.com/coqui-ai/TTS.git
model path changes for server and string strip
parent
5b4e1b48d9
commit
41f4d99e77
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"model_path":"/home/egolge/projects/models/May-22-2018_03_24PM-e6112f7",
|
||||
"model_path":"/home/erogol/projects/models/LJSpeech/May-22-2018_03_24PM-e6112f7",
|
||||
"model_name":"checkpoint_272976.pth.tar",
|
||||
"model_config":"config.json",
|
||||
"port": 5000,
|
||||
"port": 5002,
|
||||
"use_cuda": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ class Synthesizer(object):
|
|||
for sen in text.split('.'):
|
||||
if len(sen) < 3:
|
||||
continue
|
||||
sen = sen.strip()
|
||||
sen +='.'
|
||||
print(sen)
|
||||
sen = sen.strip()
|
||||
|
@ -68,4 +69,4 @@ class Synthesizer(object):
|
|||
wavs.append(wav)
|
||||
wavs.append(np.zeros(10000))
|
||||
self.save_wav(wav, out)
|
||||
return out
|
||||
return out
|
||||
|
|
Loading…
Reference in New Issue