|
@@ -95,7 +95,7 @@ export const deleteModel=async modelId=>{
|
|
|
* @returns
|
|
* @returns
|
|
|
*/
|
|
*/
|
|
|
export const train = async modelId=>{
|
|
export const train = async modelId=>{
|
|
|
- const res=await axios.get(`${MODEL_MODULE}/train`,{params: {modelId:modelId}});
|
|
|
|
|
|
|
+ const res=await axios.get(`${MODEL_MODULE}/train`,{params:modelId});
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|