Skip to content

Commit

Permalink
fix(example): revert some unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Dec 9, 2023
1 parent 31e09aa commit f073618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
// },
Expand Down

0 comments on commit f073618

Please sign in to comment.