Tags: appleboy/go-whisper
Tags
feat: add support for cutting silences from audio recordings (#26) - Add a new field `CutSilences` to the `Whisper` struct - Update the Dockerfile to install additional dependencies - Add a new flag `cut-silences` to the CLI - Implement the `cutSilences` function in the `audio.go` file - Update the `Transcript` function in the `whisper.go` file to handle cutting silences from audio
chore: update dependencies to latest versions - Update the version of `github.com/kkdai/youtube/v2` from `v2.8.1` to `v2.8.3` - Update the version of `github.com/dop251/goja` from `v0.0.0-20230806174421-c933cf95e127` to `v0.0.0-20230812105242-81d76064690d` - Update the version of `github.com/google/pprof` from `v0.0.0-20230808223545-4887780b67fb` to `v0.0.0-20230821062121-407c9e7a662f` Signed-off-by: Bo-Yi Wu <[email protected]>
refactor: refactor YouTube download functionality and add retry option - Add a `Retry` field to the `Youtube` struct in `config/whisper.go` - Add a new command line flag `youtube-retry-count` in `main.go` - Set the default value of `youtube-retry-count` to 20 in `main.go` - Use the value of `youtube-retry-count` from the command line in `run` function in `main.go` - Replace a for loop with a range-based for loop in `Download` function in `youtube/youtube.go` - Remove the unused variable `i` in `Download` function in `youtube/youtube.go` - Remove the `retry` field from the `Engine` struct in `youtube/youtube.go` Signed-off-by: Bo-Yi Wu <[email protected]>
feat: add prompt functionality to Whisper engine (#10) - Add a new field `Prompt` to the `Whisper` struct in `config/whisper.go` - Add a new flag `prompt` to the command line interface in `main.go` - Set the `Prompt` field of the `Engine` struct in `whisper/whisper.go`
PreviousNext