Skip to content

Commit e678426

Browse files
authored
Fix hezar code snippet issues
1 parent 1ab0741 commit e678426

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,10 +1034,8 @@ model.generate(cond="path/to/image.png")`,
10341034
];
10351035

10361036
export const hezar = (model: ModelData): string[] => [
1037-
`# !pip install hezar
1038-
from hezar import Model
1037+
`from hezar import Model
10391038
1040-
model = Model.load("${model.id}")
1041-
outputs = model.predict("a valid input based on modality (text, path, array, etc.)")`,
1039+
model = Model.load("${model.id}")`,
10421040
];
10431041
//#endregion

0 commit comments

Comments
 (0)