From 35783bc9cf1547b815aa2c4cb2d5c9338385eff8 Mon Sep 17 00:00:00 2001 From: Norbert Klockiewicz Date: Wed, 18 Dec 2024 16:07:21 +0100 Subject: [PATCH 1/3] docs: fix typo --- docs/docs/module-api/executorch-bindings.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/docs/module-api/executorch-bindings.md b/docs/docs/module-api/executorch-bindings.md index 960c60bab5..ea2c5f283b 100644 --- a/docs/docs/module-api/executorch-bindings.md +++ b/docs/docs/module-api/executorch-bindings.md @@ -76,7 +76,6 @@ const executorchModule = useExecutorchModule({ }); ``` -s ### Setting up input parameters From 81315798c6490cb20de34c11b88e6a45c1cd02ad Mon Sep 17 00:00:00 2001 From: Norbert Klockiewicz Date: Wed, 18 Dec 2024 16:09:19 +0100 Subject: [PATCH 2/3] Update useStyleTransfer.mdx --- docs/docs/computer-vision/useStyleTransfer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/computer-vision/useStyleTransfer.mdx b/docs/docs/computer-vision/useStyleTransfer.mdx index da3e5842b2..3db228a949 100644 --- a/docs/docs/computer-vision/useStyleTransfer.mdx +++ b/docs/docs/computer-vision/useStyleTransfer.mdx @@ -60,7 +60,7 @@ A string that specifies the location of the model binary. For more information, ## Running the model -To run the moel, you can use `forward` method. It accepts one argument, which is the image. The image can be a remote URL, a local file URI, or a base64-encoded image. The function returns a promise which can resolve either to error or a URL to generated image. +To run the model, you can use `forward` method. It accepts one argument, which is the image. The image can be a remote URL, a local file URI, or a base64-encoded image. The function returns a promise which can resolve either to error or a URL to generated image. :::info Images from external sources and the generated image are stored in your application's temporary directory. From 660d334a319520741365d543cb12f40c4e1b0aa8 Mon Sep 17 00:00:00 2001 From: Norbert Klockiewicz Date: Wed, 18 Dec 2024 16:11:43 +0100 Subject: [PATCH 3/3] Update useStyleTransfer.mdx --- docs/docs/computer-vision/useStyleTransfer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/computer-vision/useStyleTransfer.mdx b/docs/docs/computer-vision/useStyleTransfer.mdx index 3db228a949..cd9198ef50 100644 --- a/docs/docs/computer-vision/useStyleTransfer.mdx +++ b/docs/docs/computer-vision/useStyleTransfer.mdx @@ -6,7 +6,7 @@ sidebar_position: 3 Style transfer is a technique used in computer graphics and machine learning where the visual style of one image is applied to the content of another. This is achieved using algorithms that manipulate data from both images, typically with the aid of a neural network. The result is a new image that combines the artistic elements of one picture with the structural details of another, effectively merging art with traditional imagery. React Native ExecuTorch offers a dedicated hook `useStyleTransfer`, for this task. However before you start you'll need to obtain ExecuTorch-compatible model binary. :::caution -It is recommended to use models provided by us which are available at our [HuggingFace repository](https://huggingface.co/software-mansion/react-native-executorch-style-transfer-candy), you can also use [constants](https://github.com/software-mansion/react-native-executorch/tree/main/src/constants/modelUrls.ts) shipped with our library +It is recommended to use models provided by us which are available at our [Hugging Face repository](https://huggingface.co/software-mansion/react-native-executorch-style-transfer-candy), you can also use [constants](https://github.com/software-mansion/react-native-executorch/tree/main/src/constants/modelUrls.ts) shipped with our library ::: ## Reference