mirror of https://github.com/coqui-ai/TTS.git
Bug: self.model_name needed to be initialized.
Bug: self.model_name needed to be initialize to get around a bug that automatically crashes when the user provides the model paths but no model_name when initializing the TTS object.
This commit is contained in:
parent
da8b6bbce1
commit
dd73910651
|
@ -71,7 +71,7 @@ class TTS(nn.Module):
|
||||||
self.voice_converter = None
|
self.voice_converter = None
|
||||||
self.csapi = None
|
self.csapi = None
|
||||||
self.cs_api_model = cs_api_model
|
self.cs_api_model = cs_api_model
|
||||||
self.model_name = None
|
self.model_name = ""
|
||||||
|
|
||||||
if gpu:
|
if gpu:
|
||||||
warnings.warn("`gpu` will be deprecated. Please use `tts.to(device)` instead.")
|
warnings.warn("`gpu` will be deprecated. Please use `tts.to(device)` instead.")
|
||||||
|
|
Loading…
Reference in New Issue