Add AUTOMATIC1111_API_AUTH support

This commit is contained in:
sihuangwlp
2024-06-20 14:15:49 +08:00
parent 9e4dd4b86f
commit bec04279aa
4 changed files with 73 additions and 17 deletions
@@ -2,6 +2,7 @@
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' 或 '-1' 表示无过期时间。",
"(Beta)": "(测试版)",
"(e.g. `sh webui.sh --api`)": "(例如 `sh webui.sh --api`)",
"(e.g. `sh webui.sh --api --api-auth username:password`)": "(例如 `sh webui.sh --api --api-auth username:password`)",
"(latest)": "(最新版)",
"{{ models }}": "{{ models }}",
"{{ owner }}: You cannot delete a base model": "{{ owner }}:您不能删除基础模型",
@@ -63,6 +64,7 @@
"Audio": "语音",
"August": "八月",
"Auto-playback response": "自动念出回复内容",
"AUTOMATIC1111 Api Auth String": "AUTOMATIC1111 Api鉴权字符串",
"AUTOMATIC1111 Base URL": "AUTOMATIC1111 基础地址",
"AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基础地址。",
"available!": "版本可用!",
@@ -211,6 +213,7 @@
"Enter stop sequence": "输入停止序列 (Stop Sequence)",
"Enter Tavily API Key": "",
"Enter Top K": "输入 Top K",
"Enter api auth string (e.g. username:password)": "输入api鉴权路径 (例如:username:password)",
"Enter URL (e.g. http://127.0.0.1:7860/)": "输入地址 (例如:http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "输入地址 (例如:http://localhost:11434)",
"Enter Your Email": "输入您的电子邮箱",
@@ -265,6 +268,7 @@
"Import Models": "导入模型",
"Import Prompts": "导入提示词",
"Import Tools": "导入工具",
"Include `--api-auth` flag when running stable-diffusion-webui": "运行 stable-diffusion-webui 时包含 `--api-auth` 标志",
"Include `--api` flag when running stable-diffusion-webui": "运行 stable-diffusion-webui 时包含 `--api` 标志",
"Info": "信息",
"Input commands": "输入命令",