Browse Source

fix:modify spelling errors: lanuage ->language in schema.md (#4499)

Co-authored-by: wxfanghongtai <wxfanghongtai@gf.com.cn>
fanghongtai 11 months ago
parent
commit
1cca100a48

+ 1 - 1
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`)

+ 1 - 1
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` 可用)