fix: backend updateable when local path

This commit is contained in:
jialin
2024-11-08 15:09:25 +08:00
parent 93a6a77c2b
commit 343ada135d
7 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -461,7 +461,7 @@ const Models: React.FC<ModelsProps> = ({
return `${modelSourceMap.huggingface}/${record.huggingface_repo_id}`;
}
if (record.source === modelSourceMap.local_path_value) {
return `${modelSourceMap.local_path} ${record.local_path}`;
return `${modelSourceMap.local_path}${record.local_path}`;
}
if (record.source === modelSourceMap.ollama_library_value) {
return `${modelSourceMap.ollama_library}/${record.ollama_library_model_name}`;