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

if subtitles is None model gives an error .... how to infere without subtitles? #40

Open
Mohand995 opened this issue Oct 21, 2024 · 1 comment

Comments

@Mohand995
Copy link

No description provided.

@rajendrac3
Copy link

rajendrac3 commented Oct 25, 2024

In generate_prediction() function in minigpt4_video_inference.py file, instead of if gen_subtitles change it to if not gen_subtitles:
This will download openai's whisper model and generate subtitles.

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