Skip to content

Commit

Permalink
the file was moved (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
severo authored Mar 15, 2024
1 parent 84cfb99 commit 4dbdf9e
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 @@ -90,7 +90,7 @@ We recommend adding a code snippet to explain how to use a model in your downstr

First, register your library by editing [model-libaries.ts](https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts).

Then, add a code snippet by updating the [library-ui-elements](https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/library-ui-elements.ts) file 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:
Then, add a code snippet by updating the [model-libraries-snippets.ts](https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries-snippets.ts) file 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 4dbdf9e

Please sign in to comment.