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

limit on file size for audio transcription #97

Closed
prabirshrestha opened this issue Feb 28, 2024 · 1 comment · Fixed by #100
Closed

limit on file size for audio transcription #97

prabirshrestha opened this issue Feb 28, 2024 · 1 comment · Fixed by #100
Assignees

Comments

@prabirshrestha
Copy link

Is there a set limit on the audio file when creating transcription?

I noticed that small files work but large files doesn't work. You can try a 30mb file from http://www.kiea.jp/english_voicefiles.html. Direct link to mp3: http://www.kiea.jp/hosenji.mp3

Looking at the code seems like file is a vec.

pub struct TranscriptionArgs {
pub file: Vec<u8>,

@pedro-devv pedro-devv self-assigned this Feb 28, 2024
@pedro-devv pedro-devv linked a pull request Feb 29, 2024 that will close this issue
@pedro-devv
Copy link
Contributor

Apparently the default request size for axum is only 2MB, I added a new parameter in the settings to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants