mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-22 03:19:34 +00:00
fix: inversed WebGPU
This commit is contained in:
parent
d1b560f1dc
commit
da5a176205
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue