Skip to content

Commit

Permalink
fix: inversed WebGPU
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 25, 2024
1 parent d1b560f commit da5a176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whisper-webgpu/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Progress from './components/Progress.vue'
import WhisperLanguageSelect from './components/WhisperLanguageSelect.vue'
import Worker from './libs/worker?worker&url'
const IS_WEBGPU_AVAILABLE = (('gpu' in navigator) && !navigator.gpu)
const IS_WEBGPU_AVAILABLE = (('gpu' in navigator) && navigator.gpu)
const WHISPER_SAMPLING_RATE = 16_000
const MAX_AUDIO_LENGTH = 30 // seconds
Expand Down

0 comments on commit da5a176

Please sign in to comment.