Skip to content

Commit

Permalink
restore subtitleDelay
Browse files Browse the repository at this point in the history
  • Loading branch information
rerender2021 committed Apr 4, 2023
1 parent 632f4eb commit 39c9926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shadow/translate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const onTranslate = async function (asrEngine: IAsrEngine, nlpEngine: INl

let prevLength = Number.MAX_SAFE_INTEGER;
let lastUpdateTime = Date.now();
const subtitleDelay = 250;
const subtitleDelay = 1000;

const _onUpdateSubtitle = async function () {
try {
Expand Down

0 comments on commit 39c9926

Please sign in to comment.