no need for output param

This commit is contained in:
Karl 2024-01-08 12:30:59 +00:00
parent 2b41a5fad6
commit 0c3d8ce6e3

View File

@ -29,8 +29,8 @@ def main():
"int16", "float16", "bfloat16", "float32"], "int16", "float16", "bfloat16", "float32"],
help="Type to use for computation. \ help="Type to use for computation. \
See https://opennmt.net/CTranslate2/quantization.html.") See https://opennmt.net/CTranslate2/quantization.html.")
parser.add_argument("--output_dir", "-o", type=str, # parser.add_argument("--output_dir", "-o", type=str,
default=".", help="directory to save the outputs") # default=".", help="directory to save the outputs")
parser.add_argument("--output_srt", type=str2bool, default=False, parser.add_argument("--output_srt", type=str2bool, default=False,
help="whether to output the .srt file along with the video files") help="whether to output the .srt file along with the video files")
parser.add_argument("--srt_only", type=str2bool, default=False, parser.add_argument("--srt_only", type=str2bool, default=False,