From 68cac2948dc82824d82d38729f8c0e82dadb8bbc Mon Sep 17 00:00:00 2001 From: Arsala Khan <19757203+ArsalaBangash@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:54:09 +0500 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=93=9D=20Added=20interactive=20scrimb?= =?UTF-8?q?a=20tutorials=20for=20image-to-image=20&=20text-to-speech?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/inference/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/inference/README.md b/packages/inference/README.md index 431fc15c4..4a9e227d8 100644 --- a/packages/inference/README.md +++ b/packages/inference/README.md @@ -261,6 +261,8 @@ await hf.audioClassification({ Generates natural-sounding speech from text input. +Check out an [inetractive tutorial](https://scrimba.com/scrim/co8da4d23b49b648f77f4848a?pl=pkVnrP7uP) + ```typescript await hf.textToSpeech({ model: 'espnet/kan-bayashi_ljspeech_vits', @@ -349,6 +351,8 @@ await hf.textToImage({ Image-to-image is the task of transforming a source image to match the characteristics of a target image or a target image domain. +Check out an [inetractive tutorial](https://scrimba.com/scrim/co4834bf9a91cc81cfab07969?pl=pkVnrP7uP) + ```typescript await hf.imageToImage({ inputs: new Blob([readFileSync("test/stormtrooper_depth.png")]), From 2effd65ef4697b26987cdc0b57a4370703ce9fed Mon Sep 17 00:00:00 2001 From: Arsala Khan <19757203+ArsalaBangash@users.noreply.github.com> Date: Tue, 28 Nov 2023 15:01:28 +0500 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Added=20scrimba=20link=20for?= =?UTF-8?q?=20hub=20package=20tutorial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hub/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/hub/README.md b/packages/hub/README.md index e015fc1e5..85e275415 100644 --- a/packages/hub/README.md +++ b/packages/hub/README.md @@ -27,6 +27,8 @@ Check out the [full documentation](https://huggingface.co/docs/huggingface.js/hu For some of the calls, you need to create an account and generate an [access token](https://huggingface.co/settings/tokens). +Learn how to find free models using the hub package in this [interactive tutorial](https://scrimba.com/scrim/c7BbVPcd?pl=pkVnrP7uP). + ```ts import { createRepo, uploadFiles, uploadFilesWithProgress, deleteFile, deleteRepo, listFiles, whoAmI } from "@huggingface/hub"; import type { RepoDesignation, Credentials } from "@huggingface/hub"; From 8c1c18c34eb928f2721a3ad947f7ec1e7335bd25 Mon Sep 17 00:00:00 2001 From: Arsala Khan <19757203+ArsalaBangash@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:42:05 +0500 Subject: [PATCH 3/3] Fixed typos --- packages/inference/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/inference/README.md b/packages/inference/README.md index 71a0af1ab..352c80b99 100644 --- a/packages/inference/README.md +++ b/packages/inference/README.md @@ -261,7 +261,7 @@ await hf.audioClassification({ Generates natural-sounding speech from text input. -Check out an [inetractive tutorial](https://scrimba.com/scrim/co8da4d23b49b648f77f4848a?pl=pkVnrP7uP) +[Interactive tutorial](https://scrimba.com/scrim/co8da4d23b49b648f77f4848a?pl=pkVnrP7uP) ```typescript await hf.textToSpeech({ @@ -351,7 +351,7 @@ await hf.textToImage({ Image-to-image is the task of transforming a source image to match the characteristics of a target image or a target image domain. -Check out an [inetractive tutorial](https://scrimba.com/scrim/co4834bf9a91cc81cfab07969?pl=pkVnrP7uP) +[Interactive tutorial](https://scrimba.com/scrim/co4834bf9a91cc81cfab07969?pl=pkVnrP7uP) ```typescript await hf.imageToImage({