From 1cca100a48435b8687b427730f027a387313ebf1 Mon Sep 17 00:00:00 2001 From: fanghongtai <42790567+fanghongtai@users.noreply.github.com> Date: Sun, 19 May 2024 18:31:05 +0800 Subject: [PATCH] fix:modify spelling errors: lanuage ->language in schema.md (#4499) Co-authored-by: wxfanghongtai --- api/core/model_runtime/docs/en_US/schema.md | 2 +- api/core/model_runtime/docs/zh_Hans/schema.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/core/model_runtime/docs/en_US/schema.md b/api/core/model_runtime/docs/en_US/schema.md index 68f66330cd..2e55d05b0f 100644 --- a/api/core/model_runtime/docs/en_US/schema.md +++ b/api/core/model_runtime/docs/en_US/schema.md @@ -51,7 +51,7 @@ - `voices` (list) List of available voice.(available for model type `tts`) - `mode` (string) voice model.(available for model type `tts`) - `name` (string) voice model display name.(available for model type `tts`) - - `lanuage` (string) the voice model supports languages.(available for model type `tts`) + - `language` (string) the voice model supports languages.(available for model type `tts`) - `word_limit` (int) Single conversion word limit, paragraphwise by default(available for model type `tts`) - `audio_type` (string) Support audio file extension format, e.g.:mp3,wav(available for model type `tts`) - `max_workers` (int) Number of concurrent workers supporting text and audio conversion(available for model type`tts`) diff --git a/api/core/model_runtime/docs/zh_Hans/schema.md b/api/core/model_runtime/docs/zh_Hans/schema.md index fd672993bb..f40a3f8698 100644 --- a/api/core/model_runtime/docs/zh_Hans/schema.md +++ b/api/core/model_runtime/docs/zh_Hans/schema.md @@ -52,7 +52,7 @@ - `voices` (list) 可选音色列表。 - `mode` (string) 音色模型。(模型类型 `tts` 可用) - `name` (string) 音色模型显示名称。(模型类型 `tts` 可用) - - `lanuage` (string) 音色模型支持语言。(模型类型 `tts` 可用) + - `language` (string) 音色模型支持语言。(模型类型 `tts` 可用) - `word_limit` (int) 单次转换字数限制,默认按段落分段(模型类型 `tts` 可用) - `audio_type` (string) 支持音频文件扩展格式,如:mp3,wav(模型类型 `tts` 可用) - `max_workers` (int) 支持文字音频转换并发任务数(模型类型 `tts` 可用)