diff --git a/TTS/tts/utils/managers.py b/TTS/tts/utils/managers.py index 7c22ac886c..5415d52ca8 100644 --- a/TTS/tts/utils/managers.py +++ b/TTS/tts/utils/managers.py @@ -110,7 +110,7 @@ def __init__( self.load_embeddings_from_file(embedding_file_path) if encoder_model_path and encoder_config_path: - self.init_encoder(encoder_model_path, encoder_config_path) + self.init_encoder(encoder_model_path, encoder_config_path, use_cuda) @property def embedding_dim(self):