Merge pull request #2983 from vltmedia/dev

Bug: self.model_name needed to be initialized.
pull/3115/head
Eren Gölge 2023-10-28 10:39:25 +02:00 committed by GitHub
commit eccc94be9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class TTS(nn.Module):
self.voice_converter = None
self.csapi = None
self.cs_api_model = cs_api_model
self.model_name = None
self.model_name = ""
if gpu:
warnings.warn("`gpu` will be deprecated. Please use `tts.to(device)` instead.")