利用 Dockerfile 在🤗HuggingFace
等平台上部署 Pandora-Next
变量名 | 是否必须 |
---|---|
CONFIG_JSON | 是 |
TOKENS_JSON | 否 |
{
"bind": "0.0.0.0:7860", //如无必要,请勿改动此行
"tls": {
"enabled": false,
"cert_file": "",
"key_file": ""
},
"timeout": 600,
"proxy_url": "",
"license_id": "",
"public_share": false,
"site_password": "",
"setup_password": "",
"server_tokens": true,
"proxy_api_prefix": "",
"isolated_conv_title": "*",
"disable_signup": false,
"auto_conv_arkose": false,
"proxy_file_service": false,
"custom_doh_host": "",
"captcha": {
"provider": "",
"site_key": "",
"site_secret": "",
"site_login": false,
"setup_login": false,
"oai_username": false,
"oai_password": false,
"oai_signup": false
},
"whitelist": null
}
- 详细说明参见此处