open Web UI 配置title/默认语言
-
1、默认title配置
目前代码backend中有个congfig.py文件,打开增加一行代码
WEBUI_NAME = _get_env_by_type("WEBUI_NAME", dft="灵岸")然后在.env中才能生效
2、配置语言
目前docker有映射一个dada目录,在目录中找到config.json文件,修改如下
"default_locale": "zh-CN",:{ "version": 0, "ui": { "default_locale": "zh-CN", "prompt_suggestions": [ { "title": [ "Help me study", "vocabulary for a college entrance exam" ], "content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option." } ] } }最后重启灵岸docker服务