This commit is contained in:
恍兮惚兮 2024-12-14 19:21:15 +08:00
parent e2e9f48c1e
commit 3c4fe7976d
2 changed files with 20 additions and 56 deletions

View File

@ -214,10 +214,10 @@
"custom_prompt": "" "custom_prompt": ""
}, },
"argstype": { "argstype": {
"BASE_URL": { "BASE_URL": {
"name": "API接口地址", "name": "API接口地址",
"rank": 0 "rank": 0
}, },
"key": { "key": {
"rank": 2, "rank": 2,
"name": "API Key" "name": "API Key"
@ -322,7 +322,10 @@
}, },
"mangaocr": { "mangaocr": {
"args": { "args": {
"Port": 5665 "Port": 5665,
"项目仓库": "https://github.com/kha-white/manga-ocr",
"整合包_CPU": "{main_server}/Resource/IntegrationPack/manga_ocr/cpu",
"整合包_GPU": "{main_server}/Resource/IntegrationPack/manga_ocr/gpu"
}, },
"argstype": { "argstype": {
"Port": { "Port": {
@ -330,6 +333,18 @@
"min": 1, "min": 1,
"max": 65535, "max": 65535,
"step": 1 "step": 1
},
"项目仓库": {
"type": "label",
"islink": true
},
"整合包_CPU": {
"type": "label",
"islink": true
},
"整合包_GPU": {
"type": "label",
"islink": true
} }
} }
} }

View File

@ -488,57 +488,6 @@
} }
] ]
}, },
{
"name": "OCR",
"sources": [
{
"name": "本地OCR_语言包",
"links": [
{
"name": "日语",
"link": "{main_server}/Resource/ocr_models/ja.zip"
},
{
"name": "英语",
"link": "{main_server}/Resource/ocr_models/en.zip"
},
{
"name": "简体中文",
"link": "{main_server}/Resource/ocr_models/zh.zip"
},
{
"name": "繁体中文",
"link": "{main_server}/Resource/ocr_models/cht.zip"
},
{
"name": "韩语",
"link": "{main_server}/Resource/ocr_models/ko.zip"
},
{
"name": "俄语",
"link": "{main_server}/Resource/ocr_models/ru.zip"
}
]
},
{
"name": "manga-ocr",
"links": [
{
"name": "项目仓库",
"link": "https://github.com/kha-white/manga-ocr"
},
{
"name": "整合包_CPU",
"link": "{main_server}/Resource/IntegrationPack/manga_ocr/cpu"
},
{
"name": "整合包_GPU",
"link": "{main_server}/Resource/IntegrationPack/manga_ocr/gpu"
}
]
}
]
},
{ {
"name": "辞书", "name": "辞书",
"sources": [ "sources": [