You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried both the Xenova/whisper-tiny and onnx-community/moonshine-tiny-ONNX models, and they throw the following error when the pipeline is called: Invalid data location: undefined for input.
Reproduction
import{pipeline}from"@huggingface/transformers"console.log(`Loading models...`)constmodel_id="Xenova/whisper-tiny"consttranscriber=awaitpipeline("automatic-speech-recognition",model_id)console.log(`Models loaded!`)consttranscribe=async(buffer: Float32Array)=>{constoutput=awaittranscriber(buffer)console.log(output)}self.onmessage=async({ data })=>{const{ buffer }=dataawaittranscribe(buffer)}
System Info
@huggingface/[email protected]
[email protected]
Environment/Platform
Description
I have tried both the
Xenova/whisper-tiny
andonnx-community/moonshine-tiny-ONNX
models, and they throw the following error when the pipeline is called:Invalid data location: undefined for input.
Reproduction
The text was updated successfully, but these errors were encountered: