Try fixing bad live transcription performance.
This commit is contained in:
@@ -297,6 +297,9 @@ export function App() {
|
||||
// live. `.en` models take neither (same rule as the file flow).
|
||||
const options = (getModel(modelId)?.multilingual ?? false) ? { language, task } : {};
|
||||
const transcriber = new LiveTranscriber({
|
||||
tentativeIntervalMs: 2500,
|
||||
minTentativeSeconds: 2.0,
|
||||
segmenter: { commitSilenceSeconds: 2.5, maxSegmentSeconds: 29 },
|
||||
transcribe: (audio) => transcribeLiveSegment(worker, audio, options),
|
||||
onUpdate: (update) => {
|
||||
setLiveCommitted(update.committedText);
|
||||
|
||||
Reference in New Issue
Block a user