Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed soundfile error when using ASR Widget #210

Closed
mishig25 opened this issue Jul 19, 2021 · 5 comments · Fixed by #228
Closed

Malformed soundfile error when using ASR Widget #210

mishig25 opened this issue Jul 19, 2021 · 5 comments · Fixed by #228
Assignees
Labels
widgets About our Inference widgets

Comments

@mishig25
Copy link
Contributor

Malformed soundfile error occurs when a sample audio file is picked (example: https://huggingface.co/osanseviero/hubert_s3prl).

Solution: implement the same solution that is implement on image classification would work (downloading the file in the browser (using our proxy endpoint to workaround CORS) and reuploading it)

@mishig25 mishig25 self-assigned this Jul 19, 2021
@julien-c
Copy link
Member

@n1t0 did we end up deploying the proxyfying endpoint to a permanent URL? If it is, can you add the URL here?

@julien-c
Copy link
Member

[internal link]

@mishig25 mishig25 changed the title Malformed soundfile error when using AutomaticSpeechReg Widget Malformed soundfile error when using ASR Widget Jul 19, 2021
@osanseviero
Copy link
Member

I just wanted to clarify that this already works in api-inference, it's an issue only in api-inference-community afaiu.

@osanseviero
Copy link
Member

[internal link with potential solution in validation.py, but maybe the problem is more complex than I realize]

@Narsil
Copy link
Contributor

Narsil commented Jul 21, 2021

Yes the solution is there, we just need to add it to community.

@mishig25 mishig25 added the widgets About our Inference widgets label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
widgets About our Inference widgets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants