Skip to content

Commit b66636e

Browse files
committed
fix(core): reletive load path
1 parent 61fd562 commit b66636e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ChatTTS/core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ def load(
141141
compile=compile,
142142
coef=coef,
143143
use_flash_attn=use_flash_attn,
144-
**asdict(self.config.path),
144+
**{
145+
k: os.path.join(download_path, v)
146+
for k, v in asdict(self.config.path).items()
147+
},
145148
)
146149

147150
def unload(self):

0 commit comments

Comments
 (0)