Skip to content

Commit 268e2c8

Browse files
committed
add InferenceCore to matanyone code snippet
1 parent 9401982 commit 268e2c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,9 @@ export const matanyone = (model: ModelData): string[] => [
731731
732732
from matanyone.model.matanyone import MatAnyone
733733
model = MatAnyone.from_pretrained("${model.id}")`,
734+
`
735+
from matanyone import InferenceCore
736+
processor = InferenceCore("${model.id}")`,
734737
];
735738

736739
export const mesh_anything = (): string[] => [

0 commit comments

Comments
 (0)