Skip to content
/ whispex Public

Whispex is an elixir wrapper for the OpenAI/Whisper command line interface. Whisper is a general-purpose speech recognition model.

License

Notifications You must be signed in to change notification settings

vlarok/whispex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whispex

An Elixir wrapper for the OpenAI/Whisper command line interface.

Installation

If available in Hex, the package can be installed by adding whispex to your list of dependencies in mix.exs:

def deps do
  [
    {:whispex, "~> 0.1.0"}
  ]
end

Example

import Whispex
use Whispex.Options

command =
  Whispex.new_command
  |> add_input_file("/path/to/input.mp4")
  |> add_file_option(option_language("English"))

{:ok, "[00:00.000 --> 00:05.000]  shouldn't cover your old well before you dig the new one.\n"} = execute(command)

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/whispex.

About

Whispex is an elixir wrapper for the OpenAI/Whisper command line interface. Whisper is a general-purpose speech recognition model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages