fix: deploy model shardfile file name

This commit is contained in:
jialin
2024-11-18 18:56:47 +08:00
parent fa4041e560
commit 66e506db07
@@ -115,7 +115,7 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
(value: any[], filename: string) => {
return {
path: filename,
fakeName: `${filename}*.${_.get(value, '[0].extension')}`,
fakeName: `${filename}-*.${_.get(value, '[0].extension')}`,
size: _.sumBy(value, 'size'),
parts: value
};