chore: llama-box parameters

This commit is contained in:
jialin
2025-01-14 18:58:07 +08:00
parent 42d703ca1d
commit 35991ff5d6
9 changed files with 498 additions and 554 deletions
@@ -143,7 +143,7 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
});
const list = _.filter(fileList, (file: any) => {
return hfFileFilter(file);
return hfFileFilter(file) && file.path.indexOf('mmproj') === -1;
});
return list;
@@ -153,7 +153,11 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
};
const modelscopeFileFilter = (file: any) => {
return filterRegGGUF.test(file.Path) && file.Type === 'blob';
return (
filterRegGGUF.test(file.Path) &&
file.Type === 'blob' &&
file.Path.indexOf('mmproj') === -1
);
};
// modelscope files