fix: backend updateable when local path
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user