Merge pull request #3328 from FuturePrayer/AUTOMATIC1111_api_auth_support

feat: Supports making requests to the Automatic1111 backend when running with the --api-auth parameter
This commit is contained in:
Timothy Jaeryang Baek
2024-06-24 19:40:55 -07:00
committed by GitHub
4 changed files with 75 additions and 18 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 }}:您不能删除基础模型",
@@ -65,6 +66,7 @@
"Audio settings updated successfully": "",
"August": "八月",
"Auto-playback response": "自动念出回复内容",
"AUTOMATIC1111 Api Auth String": "AUTOMATIC1111 Api鉴权字符串",
"AUTOMATIC1111 Base URL": "AUTOMATIC1111 基础地址",
"AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基础地址。",
"available!": "版本可用!",
@@ -228,6 +230,7 @@
"Enter stop sequence": "输入停止序列 (Stop Sequence)",
"Enter Tavily API Key": "输入 Tavily API 密钥",
"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": "输入您的电子邮箱",
@@ -294,6 +297,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": "输入命令",