Skip to content

Commit

Permalink
Update packages/tasks/src/model-libraries-snippets.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lucain <[email protected]>
  • Loading branch information
Borg93 and Wauplin authored Nov 4, 2024
1 parent c36147e commit 2291cda
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/tasks/src/model-libraries-snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,10 @@ model = GLiNER.from_pretrained("${model.id}")`,


export const htrflow = (model: ModelData): string[] => [
`# HTRflow can be used through CLI or Python
# CLI: htrflow pipeline <path/to/pipeline.yaml> <path/to/image>
`# CLI usage
# see docs: https://ai-riksarkivet.github.io/htrflow/latest/getting_started/quick_start.html
htrflow pipeline <path/to/pipeline.yaml> <path/to/image>`
, `# Python usage
from htrflow.pipeline.pipeline import Pipeline
from htrflow.pipeline.steps import Task
from htrflow.models.framework.model import ModelClass
Expand Down

0 comments on commit 2291cda

Please sign in to comment.