diff --git a/packages/whisper-webgpu/src/App.vue b/packages/whisper-webgpu/src/App.vue index 59e1b9457..4e2ee9143 100644 --- a/packages/whisper-webgpu/src/App.vue +++ b/packages/whisper-webgpu/src/App.vue @@ -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