perf: 参数
This commit is contained in:
parent
e547893ac1
commit
963e590dfd
@ -84,7 +84,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
training_file: uploadFileId,
|
training_file: uploadFileId,
|
||||||
model: trainingType,
|
model: trainingType,
|
||||||
suffix: model.name,
|
suffix: model.name,
|
||||||
n_epochs: 2
|
n_epochs: 4
|
||||||
},
|
},
|
||||||
{ httpsAgent }
|
{ httpsAgent }
|
||||||
);
|
);
|
||||||
|
|||||||
@ -102,7 +102,7 @@ const ModelDetail = ({ modelId }: { modelId: string }) => {
|
|||||||
await postTrainModel(modelId, formData);
|
await postTrainModel(modelId, formData);
|
||||||
|
|
||||||
toast({
|
toast({
|
||||||
title: '开始训练,大约需要 30 分钟',
|
title: '开始训练...',
|
||||||
status: 'success'
|
status: 'success'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user