mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-28 02:46:56 +08:00
Allow for local files only force
This commit is contained in:
parent
df6da098f5
commit
93d8eb8d35
@ -329,7 +329,7 @@ class TTS_Config:
|
||||
print(f"fall back to default cnhuhbert_base_path: {self.cnhuhbert_base_path}")
|
||||
|
||||
repo_name="lj1995/GPT-SoVITS"
|
||||
snapshot_download(repo_id=repo_name, local_dir=os.path.dirname(self.bert_base_path))
|
||||
snapshot_download(repo_id=repo_name, local_dir=os.path.dirname(self.bert_base_path), local_files_only=True)
|
||||
self.update_configs()
|
||||
self.max_sec = None
|
||||
self.hz: int = 50
|
||||
|
Loading…
x
Reference in New Issue
Block a user