mirror of https://github.com/coqui-ai/TTS.git
Fix API
This commit is contained in:
parent
bce819a624
commit
5e5768d784
|
@ -303,6 +303,8 @@ class TTS:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_coqui_studio(self):
|
def is_coqui_studio(self):
|
||||||
|
if self.model_name is None:
|
||||||
|
return False
|
||||||
return "coqui_studio" in self.model_name
|
return "coqui_studio" in self.model_name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue