Compare commits

..

No commits in common. "master" and "v0.2.1" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -66,8 +66,6 @@ func ParseFlags() (*ParsedArguments, error) {
var parsedArgs *ParsedArguments
cobra.MousetrapHelpText = ""
rootCmd := &cobra.Command{
Use: "whisper",
Short: "Audio transcription using the OpenAI Whisper models",

View File

@ -63,7 +63,7 @@ func main() {
}
e.POST("/v1/audio/transcriptions", func(c echo.Context) error {
return api.TranscribeFromFile(c, whisperState)
return api.Transcribe(c, whisperState)
})
address := fmt.Sprintf("127.0.0.1:%d", args.Port)