openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Support Whisper from CLI

Open szepeviktor opened this issue 2 years ago • 1 comments

Describe the feature or improvement you're requesting

It would be nice to upload audio files with the CLI tool and get the API response. Thank you for considering.

Additional context

No response

szepeviktor avatar Mar 09 '23 14:03 szepeviktor

Thanks for suggestion this!

logankilpatrick avatar Mar 13 '23 15:03 logankilpatrick

hi there! the CLI already supports the Whisper API endpoints. Here's an example of how to use it:

openai api audio.transcribe  -f=/path/to/your/file.mp3

mpokrass avatar Mar 20 '23 23:03 mpokrass

Thank you Michelle!

szepeviktor avatar Mar 20 '23 23:03 szepeviktor