From 57fd2ca11fc3d8ae640ab4c4ca504f62d86b1cdc Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 20 Sep 2024 11:57:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B1=86=E5=8C=85=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AElabel=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/volcanic_engine_model_provider/credential/stt.py | 4 ++-- .../impl/volcanic_engine_model_provider/credential/tts.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/stt.py b/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/stt.py index 94e656162d..d7607ded0d 100644 --- a/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/stt.py +++ b/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/stt.py @@ -11,8 +11,8 @@ class VolcanicEngineSTTModelCredential(BaseForm, BaseModelCredential): volcanic_api_url = forms.TextInputField('API 域名', required=True, default_value='wss://openspeech.bytedance.com/api/v2/asr') volcanic_app_id = forms.TextInputField('App ID', required=True) - volcanic_token = forms.PasswordInputField('Token', required=True) - volcanic_cluster = forms.TextInputField('Cluster', required=True) + volcanic_token = forms.PasswordInputField('Access Token', required=True) + volcanic_cluster = forms.TextInputField('Cluster ID', required=True) def is_valid(self, model_type: str, model_name, model_credential: Dict[str, object], provider, raise_exception=False): diff --git a/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/tts.py b/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/tts.py index 353740a428..7a98666131 100644 --- a/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/tts.py +++ b/apps/setting/models_provider/impl/volcanic_engine_model_provider/credential/tts.py @@ -11,8 +11,8 @@ class VolcanicEngineTTSModelCredential(BaseForm, BaseModelCredential): volcanic_api_url = forms.TextInputField('API 域名', required=True, default_value='wss://openspeech.bytedance.com/api/v1/tts/ws_binary') volcanic_app_id = forms.TextInputField('App ID', required=True) - volcanic_token = forms.PasswordInputField('Token', required=True) - volcanic_cluster = forms.TextInputField('Cluster', required=True) + volcanic_token = forms.PasswordInputField('Access Token', required=True) + volcanic_cluster = forms.TextInputField('Cluster ID', required=True) def is_valid(self, model_type: str, model_name, model_credential: Dict[str, object], provider, raise_exception=False):