mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-04 04:14:42 +08:00
feat(engine): 优化字幕引擎输出格式、准备合并两个字幕引擎
- 重构字幕引擎相关代码 - 准备合并两个字幕引擎
This commit is contained in:
@@ -32,7 +32,19 @@ Python 进程标准输出 (`sys.stdout`) 的内容一定为一行一行的字符
|
||||
}
|
||||
```
|
||||
|
||||
Python 端打印的提示信息。
|
||||
Python 端打印的提示信息,比起 `print`,该信息更希望 Electron 端的关注。
|
||||
|
||||
### `usage`
|
||||
|
||||
```js
|
||||
{
|
||||
command: "usage",
|
||||
content: string
|
||||
}
|
||||
```
|
||||
|
||||
Gummy 字幕引擎结束时打印计费消耗信息。
|
||||
|
||||
|
||||
### `caption`
|
||||
|
||||
@@ -42,7 +54,6 @@ Python 端打印的提示信息。
|
||||
index: number,
|
||||
time_s: string,
|
||||
time_t: string,
|
||||
end: boolean,
|
||||
text: string,
|
||||
translation: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user