Skip to content

Commit

Permalink
Merge pull request #1587 from ribeiromiranda/patch-1
Browse files Browse the repository at this point in the history
Fixed use_cuda issue in compute_embeddings.py
  • Loading branch information
erogol authored May 29, 2022
2 parents 8be21ec + 3b84ef9 commit 71111d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/tts/utils/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 71111d1

Please sign in to comment.