Audio-Text-to-Text
Transformers
Safetensors
qwen2_audio
text2text-generation
Inference Endpoints

infer error

#4
by shanhaidexiamo - opened

I used the inference code you provided, and the audio used was test-mini-audio/3fe64f3d-282c-4bc8a753-68f8f6c35652.wav, and obtained the following error

image.png

Xiaomi Dasheng Team org

Could you share more code examples?

Could you share more code examples?

I fully utilized the demo you provided in huggingface, and after testing, it was found that audio=[waveform. squeeze (0). numpy()] is necessary instead of audio=[waveform. numpy()]

Xiaomi Dasheng Team org

Yes! Thanks a lot. I also found this bug and have updated inference code. Thanks again, it's our mistake.

frankenliu changed discussion status to closed
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment