Skip to content

Commit 38340f6

Browse files
committed
Merge branch '@is/multilingual-tts' of https://github.com/software-mansion/react-native-executorch into @is/multilingual-tts
2 parents 1ad23ea + 3135467 commit 38340f6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/docs/03-hooks/01-natural-language-processing/useTextToSpeech.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ const handleSpeech = async (text: string) => {
6161

6262
`useTextToSpeech` takes [`TextToSpeechModelConfig`](../../06-api-reference/interfaces/TextToSpeechModelConfig.md) that consists of:
6363

64-
- `model` of type [`TextToSpeechModelSources`](../../06-api-reference/interfaces/TextToSpeechModelSources.md) containing the [`durationPredictorSource`](../../06-api-reference/interfaces/TextToSpeechModelSources.md#durationpredictorsource), [`synthesizerSource`](../../06-api-reference/interfaces/TextToSpeechModelSources.md#synthesizersource), and [`modelName`](../../06-api-reference/interfaces/TextToSpeechModelSources.md#modelname).
65-
- [`voiceSource`](../../06-api-reference/interfaces/TextToSpeechModelConfig.md#voicesource) of type [`ResourceSource`](../../06-api-reference/interfaces/ResourceSource.md) - configuration of specific voice used in TTS.
64+
- `model` of type [`TextToSpeechModelSources`](../../06-api-reference/type-aliases/TextToSpeechModelSources.md) containing the [`durationPredictorSource`](../../06-api-reference/type-aliases/TextToSpeechModelSources.md#durationpredictorsource), [`synthesizerSource`](../../06-api-reference/type-aliases/TextToSpeechModelSources.md#synthesizersource), and [`modelName`](../../06-api-reference/type-aliases/TextToSpeechModelSources.md#modelname).
65+
- [`voiceSource`](../../06-api-reference/interfaces/TextToSpeechModelConfig.md#voicesource) of type [`ResourceSource`](../../06-api-reference/type-aliases/ResourceSource.md) - configuration of specific voice used in TTS.
6666
- [`phonemizerConfig`](../../06-api-reference/interfaces/TextToSpeechModelConfig.md#phonemizerconfig) of type [`TextToSpeechPhonemizerConfig`](../../06-api-reference/interfaces/TextToSpeechPhonemizerConfig.md) - configuration of the phonemizer.
6767

6868
`useTextToSpeech`'s second optional argument is an object with:

packages/react-native-executorch/common/rnexecutorch/tests/run_tests.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ MODELS=(
6363
"fsmn-vad_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-fsmn-vad/resolve/main/xnnpack/fsmn-vad_xnnpack.pte"
6464
"whisper_tiny_en_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/resolve/v0.8.0/xnnpack/whisper_tiny_en_xnnpack.pte"
6565
"whisper_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/resolve/v0.8.0/tokenizer.json"
66-
"kokoro_duration_predictor.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/xnnpack/standard/duration_predictor_std.pte"
67-
"kokoro_synthesizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/xnnpack/standard/synthesizer_std.pte"
68-
"kokoro_af_heart.bin|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/voices/af_heart.bin"
69-
"kokoro_us_lexicon.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/phonemizer/en-us/lexicon.json"
70-
"kokoro_en_tagger.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/phonemizer/en-us/tags.json"
71-
"kokoro_us_phonemizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.11.0/phonemizer/en-us/phonemizer_en_us.pte"
66+
"kokoro_duration_predictor.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/xnnpack/standard/duration_predictor_std.pte"
67+
"kokoro_synthesizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/xnnpack/standard/synthesizer_std.pte"
68+
"kokoro_af_heart.bin|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/voices/af_heart.bin"
69+
"kokoro_us_lexicon.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/phonemizer/en-us/lexicon.json"
70+
"kokoro_en_tagger.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/phonemizer/en-us/tags.json"
71+
"kokoro_us_phonemizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0/phonemizer/en-us/phonemizer_en_us.pte"
7272
"smolLm2_135M_8da4w.pte|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.6.0/smolLm-2-135M/quantized/smolLm2_135M_8da4w.pte"
7373
"smollm_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.6.0/tokenizer.json"
7474
"deeplabV3_xnnpack_fp32.pte|https://huggingface.co/software-mansion/react-native-executorch-deeplab-v3/resolve/v0.6.0/xnnpack/deeplabV3_xnnpack_fp32.pte"

0 commit comments

Comments
 (0)