From 4dbdf9e908ffcc845c086d54c167316d9337cdcb Mon Sep 17 00:00:00 2001 From: Sylvain Lesage Date: Fri, 15 Mar 2024 17:58:16 +0100 Subject: [PATCH] the file was moved (#1248) --- docs/hub/models-adding-libraries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hub/models-adding-libraries.md b/docs/hub/models-adding-libraries.md index a211d03c0..39d39b751 100644 --- a/docs/hub/models-adding-libraries.md +++ b/docs/hub/models-adding-libraries.md @@ -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) =>