Skip to content

Commit

Permalink
fix(core): reletive load path
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 16, 2024
1 parent 61fd562 commit b66636e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ChatTTS/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def load(
compile=compile,
coef=coef,
use_flash_attn=use_flash_attn,
**asdict(self.config.path),
**{
k: os.path.join(download_path, v)
for k, v in asdict(self.config.path).items()
},
)

def unload(self):
Expand Down

0 comments on commit b66636e

Please sign in to comment.