fix(sam2): fix api
This commit is contained in:
@@ -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]>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user