From 0ec763c1676af8660b61a0c0c603f3571af41f72 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: Wed, 10 Jul 2024 21:58:18 +0800 Subject: [PATCH] link --- LunaTranslator/files/defaultconfig/config.json | 12 +++++++++++- LunaTranslator/files/defaultconfig/ocrsetting.json | 14 ++++++++------ .../files/defaultconfig/static_data.json | 8 ++++---- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/LunaTranslator/files/defaultconfig/config.json b/LunaTranslator/files/defaultconfig/config.json index 705738f5..845e221a 100644 --- a/LunaTranslator/files/defaultconfig/config.json +++ b/LunaTranslator/files/defaultconfig/config.json @@ -1079,7 +1079,9 @@ "type": "offline", "args": { "Port": 23456, - "preset": "" + "preset": "", + "整合包_CPU": "https://lunatranslator.xyz/Resource/IntegrationPack/vits-simple-api/cpu", + "整合包_GPU": "https://lunatranslator.xyz/Resource/IntegrationPack/vits-simple-api/gpu" }, "argstype": { "Port": { @@ -1089,6 +1091,14 @@ "step": 1, "name": "端口号" }, + "整合包_CPU": { + "type": "label", + "islink": true + }, + "整合包_GPU": { + "type": "label", + "islink": true + }, "preset": { "name": "GPT-SOVITS preset" } diff --git a/LunaTranslator/files/defaultconfig/ocrsetting.json b/LunaTranslator/files/defaultconfig/ocrsetting.json index 6d16d7e0..fc70973f 100644 --- a/LunaTranslator/files/defaultconfig/ocrsetting.json +++ b/LunaTranslator/files/defaultconfig/ocrsetting.json @@ -246,8 +246,8 @@ "mangaocr": { "args": { "项目仓库": "https://github.com/kha-white/manga-ocr", - "整合包_CPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip", - "整合包_GPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z", + "整合包_CPU_1": "https://lunatranslator.xyz/Resource/IntegrationPack/manga_ocr/cpu", + "整合包_GPU_1": "https://lunatranslator.xyz/Resource/IntegrationPack/manga_ocr/gpu", "Port": 5665 }, "argstype": { @@ -255,13 +255,15 @@ "type": "label", "islink": true }, - "整合包_CPU": { + "整合包_CPU_1": { "type": "label", - "islink": true + "islink": true, + "name": "整合包_CPU" }, - "整合包_GPU": { + "整合包_GPU_1": { "type": "label", - "islink": true + "islink": true, + "name": "整合包_GPU" }, "Port": { "type": "intspin", diff --git a/LunaTranslator/files/defaultconfig/static_data.json b/LunaTranslator/files/defaultconfig/static_data.json index 2e192ad8..be15c26a 100644 --- a/LunaTranslator/files/defaultconfig/static_data.json +++ b/LunaTranslator/files/defaultconfig/static_data.json @@ -757,11 +757,11 @@ }, { "name": "整合包_CPU", - "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip" + "link": "https://lunatranslator.xyz/Resource/IntegrationPack/manga_ocr/cpu" }, { "name": "整合包_GPU", - "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z" + "link": "https://lunatranslator.xyz/Resource/IntegrationPack/manga_ocr/gpu" } ] } @@ -847,11 +847,11 @@ }, { "name": "整合包_CPU", - "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-cpu-v0.6.9_vits-uma-genshin-honkai.rar" + "link": "https://lunatranslator.xyz/Resource/IntegrationPack/vits-simple-api/cpu" }, { "name": "整合包_GPU", - "link": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.1/vits-simple-api-windows-gpu-v0.6.9_vits-uma-genshin-honkai.7z" + "link": "https://lunatranslator.xyz/Resource/IntegrationPack/vits-simple-api/gpu" } ] },