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

M4A conversion fails in audio-to-text pipeline #218

Open
thomshutt opened this issue Oct 4, 2024 · 0 comments
Open

M4A conversion fails in audio-to-text pipeline #218

thomshutt opened this issue Oct 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thomshutt
Copy link

Describe the bug

When passing an m4a file into the audio-to-text pipeline, it errors with:

2024-10-04 12:39:05,158 - app.routes.audio_to_text - ERROR - Audio processing error: Could not determine output format

Passing the same (converted) file in as an MP3 succeeds.

Reproduction steps

Run docker run -d --restart unless-stopped --name runner-audio-to-text-test -v /home/user/models:/models:rw -e PIPELINE=audio-to-text -e MODEL_ID=openai/whisper-large-v3 -p 9000:9000 livepeer/ai-runner:latest uvicorn app.main:app --log-config app/cfg/uvicorn_logging_config.json --host 0.0.0.0 --port 9000

Call curl -X POST http://0.0.0.0:9000/audio-to-text -F model_id="openai/whisper-large-v3" -F [email protected]

Expected behaviour

Expect it to work and produce text

Severity

Minor

Screenshots / Live demo link

No response

OS

Linux

Running on

Docker

AI-worker version

latest

Additional context

No response

@thomshutt thomshutt added the bug Something isn't working label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant