mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-02-24 12:10:16 +01:00
Fixup
This commit is contained in:
@@ -76,7 +76,7 @@ class TTS(nn.Module):
|
||||
if gpu:
|
||||
warnings.warn("`gpu` will be deprecated. Please use `tts.to(device)` instead.")
|
||||
|
||||
if model_name is not None:
|
||||
if model_name is not None and len(model_name) > 0:
|
||||
if "tts_models" in model_name or "coqui_studio" in model_name:
|
||||
self.load_tts_model_by_name(model_name, gpu)
|
||||
elif "voice_conversion_models" in model_name:
|
||||
|
||||
Reference in New Issue
Block a user