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

Error when trying to subtitle video or audio #22

Closed
andytuinman3 opened this issue Apr 16, 2023 · 1 comment
Closed

Error when trying to subtitle video or audio #22

andytuinman3 opened this issue Apr 16, 2023 · 1 comment

Comments

@andytuinman3
Copy link

andytuinman3 commented Apr 16, 2023

Whenever I upload a video or even audio alone from that video I get the following error:

Maximum content size limit (26214400) exceeded (26261586 bytes read)

My file is 300mb for the video file and also tried it with a 30mb audio file. Upload and max memory set to 2048MB.

How can I fix this?

@aschmelyun
Copy link
Owner

This issue is due to hitting OpenAI's Whisper API upload limit. I'll need to implement batching to prevent this from happening, but that'll require refactoring large parts of the app to handle the different content generation regardless of how many batches there are.

Closing this issue, opened #24 to track 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

No branches or pull requests

2 participants