Commit 963e590d by archer

perf: 参数

parent e547893a
...@@ -84,7 +84,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) ...@@ -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 }) => { ...@@ -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'
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment