mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-29 02:10:59 +08:00
fix(core): reletive load path
This commit is contained in:
+4
-1
@@ -141,7 +141,10 @@ class Chat:
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user