fix: restore xinference secret field (#6941)

Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
This commit is contained in:
liuzhenghua 2024-08-04 14:32:24 +00:00 committed by GitHub
commit 141e4e0276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ model_credential_schema:
label:
zh_Hans: 服务器URL
en_US: Server url
type: text-input
type: secret-input
required: true
placeholder:
zh_Hans: 在此输入Xinference的服务器地址如 http://192.168.1.100:9997
@ -51,7 +51,7 @@ model_credential_schema:
label:
zh_Hans: API密钥
en_US: API key
type: text-input
type: secret-input
required: false
placeholder:
zh_Hans: 在此输入您的API密钥