perf: 参数

This commit is contained in:
archer 2023-03-26 15:41:50 +08:00
parent e547893ac1
commit 963e590dfd
No known key found for this signature in database
GPG Key ID: 166CA6BF2383B2BB
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
training_file: uploadFileId,
model: trainingType,
suffix: model.name,
n_epochs: 2
n_epochs: 4
},
{ httpsAgent }
);

View File

@ -102,7 +102,7 @@ const ModelDetail = ({ modelId }: { modelId: string }) => {
await postTrainModel(modelId, formData);
toast({
title: '开始训练,大约需要 30 分钟',
title: '开始训练...',
status: 'success'
});