Skip to content
Discussion options

You must be logged in to vote

It doesn't support --output-format none, and likely we won't plan to -- if www-user can write to /tmp, you can specify something like --output_dir /tmp/whisper.

Alternatively, you can write a separate Python script doing something similar to the cli() function:

def cli():
from . import available_models
# fmt: off
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument("audio", nargs="+", type=str, help="audio file(s) to transcribe")
parser.add_argument("--model", default="small", choices=available_models(), help="name of the Whisper model…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jongwook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants