fix(core): reletive load path

This commit is contained in:
源文雨
2024-07-16 17:18:51 +09:00
parent 61fd5628cd
commit b66636e552
+4 -1
View File
@@ -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):