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

Added --output option #333

Merged
merged 5 commits into from
Jan 22, 2023
Merged

Added --output option #333

merged 5 commits into from
Jan 22, 2023

Conversation

Aaryan369
Copy link
Contributor

@Aaryan369 Aaryan369 commented Oct 16, 2022

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?)

--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
@nick-konovalchuk
Copy link
Contributor

@Aaryan369 check this one for details on verbosity

@Aaryan369
Copy link
Contributor Author

@Aaryan369 check this one for details on verbosity

@bottledmind Thanks for pointing it out, reverted the changes regarding pbar and verbosity in my code.

@mliradelc
Copy link

Thanks for the PR!, I hope whisper team merge it.

@jongwook
Copy link
Collaborator

Thanks for the PR! I've renamed the option to --output_format and moved some code around.

@jongwook jongwook merged commit da600ab into openai:main Jan 22, 2023
@Aaryan369
Copy link
Contributor Author

Thanks for committing my PR @jongwook and for making the necessary changes!
I appreciate your attention to detail and your efforts to improve the project.

zackees pushed a commit to zackees/whisper that referenced this pull request May 5, 2023
* 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>
ilanit1997 pushed a commit to ilanit1997/whisper that referenced this pull request May 16, 2023
* 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>
abyesilyurt pushed a commit to abyesilyurt/whisper that referenced this pull request Nov 13, 2023
* 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>
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 this pull request may close these issues.

4 participants