-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Added --output option #333
Conversation
--output option will help select the output files that will be generated. Corrected the logic, which wrongly shows progress bar when verbose is set to False
@Aaryan369 check this one for details on verbosity |
@bottledmind Thanks for pointing it out, reverted the changes regarding pbar and verbosity in my code. |
Thanks for the PR!, I hope whisper team merge it. |
Thanks for the PR! I've renamed the option to |
Thanks for committing my PR @jongwook and for making the necessary changes! |
* Added --output option --output option will help select the output files that will be generated. Corrected the logic, which wrongly shows progress bar when verbose is set to False * Changed output_files variable * Changed back the tqdm verbose * refactor output format handling Co-authored-by: Jong Wook Kim <jongwook@openai.com> Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
* Added --output option --output option will help select the output files that will be generated. Corrected the logic, which wrongly shows progress bar when verbose is set to False * Changed output_files variable * Changed back the tqdm verbose * refactor output format handling Co-authored-by: Jong Wook Kim <jongwook@openai.com> Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
* Added --output option --output option will help select the output files that will be generated. Corrected the logic, which wrongly shows progress bar when verbose is set to False * Changed output_files variable * Changed back the tqdm verbose * refactor output format handling Co-authored-by: Jong Wook Kim <jongwook@openai.com> Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
Instead of generating all the 3(txt, vtt and srt) type of files, --output options helps us choose if we want to generate no files, some files or all files.
(I added this feature because when I was running a lot of files, unwanted files are getting generated which are filling up the system.)
Also fixed the logical error in tqdm pbar, which was printing the pbar even when the verbose was set to False.
(Edit: I just realized that this was intended, but shouldn't verbose=False mean no output must be shown?)