From aa1e552ed1ad6a687f6a33f6f730f0d3b05936d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Tue, 7 May 2024 20:19:02 +0800 Subject: [PATCH] append --- .../files/defaultconfig/ocrsetting.json | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/LunaTranslator/files/defaultconfig/ocrsetting.json b/LunaTranslator/files/defaultconfig/ocrsetting.json index c1afb9bb..9e661217 100644 --- a/LunaTranslator/files/defaultconfig/ocrsetting.json +++ b/LunaTranslator/files/defaultconfig/ocrsetting.json @@ -212,18 +212,25 @@ } } }, - "googlecloudvision": { - "args": { - "key": "" - } - }, - "xunfei": { - "args": { - "APPId": "", - "APISecret": "", - "APIKey": "" - } - }, + "googlecloudvision": { + "args": { + "key": "" + } + }, + "xunfei": { + "args": { + "link": "https://www.xfyun.cn/doc/words/multi_print_recognition/API.html", + "APPId": "", + "APISecret": "", + "APIKey": "" + }, + "argstype": { + "link": { + "type": "label", + "islink": true + } + } + }, "mangaocr": { "args": { "项目仓库": "https://github.com/kha-white/manga-ocr",