mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-27 22:34:46 +08:00
feat: 增加gummy更多语言支持
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
### 基本使用
|
### 基本使用
|
||||||
|
|
||||||
目前仅提供 Windows 平台的可安装版本。如果使用默认的 Gummy 字幕引擎,需要获取阿里云百炼平台的 API KEY 并配置到环境变量中才能正常使用该模型相关教程:[获取API KEY](https://help.aliyun.com/zh/model-studio/get-api-key)、[将API Key配置到环境变量](https://help.aliyun.com/zh/model-studio/configure-api-key-through-environment-variables)。
|
目前仅提供 Windows 平台的可安装版本。如果使用默认的 Gummy 字幕引擎,需要获取阿里云百炼平台的 API KEY 并配置到环境变量中才能正常使用该模型。相关教程:[获取API KEY](https://help.aliyun.com/zh/model-studio/get-api-key)、[将API Key配置到环境变量](https://help.aliyun.com/zh/model-studio/configure-api-key-through-environment-variables)。
|
||||||
|
|
||||||
对于开发者,可以自己创建新的字幕引擎。具体通信规范请参考源代码。
|
对于开发者,可以自己创建新的字幕引擎。具体通信规范请参考源代码。
|
||||||
## ✨ 特性
|
## ✨ 特性
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export class CaptionEngine {
|
|||||||
process: any | undefined
|
process: any | undefined
|
||||||
|
|
||||||
private getApp() {
|
private getApp() {
|
||||||
if(controls.customized && controls.customizedCommand && controls.customizedApp){
|
if(controls.customized && controls.customizedApp){
|
||||||
this.appPath = controls.customizedApp
|
this.appPath = controls.customizedApp
|
||||||
this.command = [ controls.customizedCommand ]
|
this.command = [ controls.customizedCommand ]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,9 +10,14 @@ export const useCaptionControlStore = defineStore('captionControl', () => {
|
|||||||
languages: [
|
languages: [
|
||||||
{ value: 'auto', label: '自动检测' },
|
{ value: 'auto', label: '自动检测' },
|
||||||
{ value: 'en', label: '英语' },
|
{ value: 'en', label: '英语' },
|
||||||
{ value: 'zh', label: '简体中文' },
|
{ value: 'zh', label: '中文' },
|
||||||
{ value: 'ja', label: '日语' },
|
{ value: 'ja', label: '日语' },
|
||||||
{ value: 'ko', label: '韩语' }
|
{ value: 'ko', label: '韩语' },
|
||||||
|
{ value: 'de', label: '德语' },
|
||||||
|
{ value: 'fr', label: '法语' },
|
||||||
|
{ value: 'ru', label: '俄语' },
|
||||||
|
{ value: 'es', label: '西班牙语' },
|
||||||
|
{ value: 'it', label: '意大利语' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user