Skip to content

Commit e288dbe

Browse files
authored
update swarmformer code snippet (huggingface#1159)
following up on huggingface#1156
1 parent a084e44 commit e288dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ model = BiRefNet.from_pretrained("${model.id}")`,
11861186
export const swarmformer = (model: ModelData): string[] => [
11871187
`from swarmformer import SwarmFormerModel
11881188
1189-
model = SwarmFormerModel.from_pretrained("${model.id}", trust_remote_code=True)
1189+
model = SwarmFormerModel.from_pretrained("${model.id}")
11901190
`,
11911191
];
11921192

0 commit comments

Comments
 (0)