Use final_path..
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
parent
74c1874072
commit
6ab630f5f8
|
|
@ -718,7 +718,7 @@ common_download_model_result common_download_model(const common_params_model
|
|||
for (const auto & f : hf.model_files) {
|
||||
hf_cache::finalize_file(f);
|
||||
}
|
||||
result.model_path = hf.model_files[0].local_path;
|
||||
result.model_path = hf.model_files[0].final_path;
|
||||
|
||||
if (!hf.mmproj.path.empty()) {
|
||||
result.mmproj_path = hf_cache::finalize_file(hf.mmproj);
|
||||
|
|
|
|||
Loading…
Reference in New Issue