arnavmehta7 commited on
Commit
f4a06e5
1 Parent(s): 5840a7d

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +2 -0
inference.py CHANGED
@@ -127,7 +127,9 @@ class Mars5TTS(nn.Module, ModelHubMixin):
127
  **model_kwargs,
128
  ) -> "Mars5TTS":
129
  # Download files from Hub
 
130
  ar_ckpt_path = hf_hub_download(repo_id=model_id, filename="mars5_ar.safetensors", revision=revision, cache_dir=cache_dir, force_download=force_download, proxies=proxies, local_files_only=local_files_only, token=token)
 
131
  nar_ckpt_path = hf_hub_download(repo_id=model_id, filename="mars5_nar.safetensors", revision=revision, cache_dir=cache_dir, force_download=force_download, proxies=proxies, local_files_only=local_files_only, token=token)
132
 
133
  ar_ckpt = {}
 
127
  **model_kwargs,
128
  ) -> "Mars5TTS":
129
  # Download files from Hub
130
+ print(f">>>>> Downloading AR model")
131
  ar_ckpt_path = hf_hub_download(repo_id=model_id, filename="mars5_ar.safetensors", revision=revision, cache_dir=cache_dir, force_download=force_download, proxies=proxies, local_files_only=local_files_only, token=token)
132
+ print(f">>>>> Downloading NAR model")
133
  nar_ckpt_path = hf_hub_download(repo_id=model_id, filename="mars5_nar.safetensors", revision=revision, cache_dir=cache_dir, force_download=force_download, proxies=proxies, local_files_only=local_files_only, token=token)
134
 
135
  ar_ckpt = {}