From f07361801a1a654a1ed06d1f1e768d5bf37a869c Mon Sep 17 00:00:00 2001 From: Jhen Date: Sat, 9 Dec 2023 10:34:24 +0800 Subject: [PATCH] fix(example): revert some unnecessary change --- example/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index 83de489..df09f8d 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -225,13 +225,13 @@ export default function App() { log('Start transcribing...') const startTime = Date.now() const { stop, promise } = whisperContext.transcribe(sampleFile, { - language: 'zh', - prompt: 'HELLO WORLD', maxLen: 1, tokenTimestamps: true, onProgress: (cur) => { log(`Transcribing progress: ${cur}%`) }, + language: 'en', + // prompt: 'HELLO WORLD', // onNewSegments: (segments) => { // console.log('New segments:', segments) // },