feat: model file chunk

This commit is contained in:
jialin
2024-09-06 19:27:59 +08:00
parent 58e9a4c742
commit 7b999e6692
4 changed files with 17 additions and 10 deletions
@@ -43,7 +43,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
const [loadingModel, setLoadingModel] = useState<boolean>(false);
const handleSelectModelFile = useCallback((item: any) => {
form.current?.setFieldValue?.('huggingface_filename', item.path);
form.current?.setFieldValue?.('huggingface_filename', item.fakeName);
}, []);
const handleOnSelectModel = (item: any) => {