Skip to content

Commit

Permalink
fixup! ♻️ fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Nov 24, 2023
1 parent 272aa42 commit 661ddac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hub/models-adding-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ We recommend adding a code snippet to explain how to use a model in your downstr
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/code_snippet-dark.png"/>
</div>

Add a code snippet by updating the [Libraries Typescript file](https://github.com/huggingface/huggingface.js/blob/f11543e81b409a062a47a4c03225bf4fcd4c72c1/packages/tasks/src/library-ui-elements.ts) with instructions for your model. For example, the [Asteroid](https://huggingface.co/asteroid-team) integration includes a brief code snippet for how to load and use an Asteroid model:
Add a code snippet by updating the [Libraries Typescript file](https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/library-ui-elements.ts) with instructions for your model. For example, the [Asteroid](https://huggingface.co/asteroid-team) integration includes a brief code snippet for how to load and use an Asteroid model:

```typescript
const asteroid = (model: ModelData) =>
Expand Down

0 comments on commit 661ddac

Please sign in to comment.