diff --git a/components/label/api/label/index.ts b/components/label/api/label/index.ts index b4a3e1b..8762c52 100644 --- a/components/label/api/label/index.ts +++ b/components/label/api/label/index.ts @@ -122,7 +122,7 @@ export const getAuxiliaryAnnotation = (data: any) => { export const getAuxiliaryAnnotation2 = (data: { project_id: string - image_name: string + image: string prompt: { foreground_points?: Array<[number, number]> background_points?: Array<[number, number]> diff --git a/components/label/components/PaperContainer.tsx b/components/label/components/PaperContainer.tsx index 60af9e9..ad87855 100644 --- a/components/label/components/PaperContainer.tsx +++ b/components/label/components/PaperContainer.tsx @@ -514,7 +514,7 @@ const PaperContainer = ( try { const data = await getAuxiliaryAnnotation2({ project_id: projectId, - image_name: activeImage, + image: activeImage, // project_id: "image_test_bk", prompt: { foreground_points: promptPoints,