Skip to content

Issues using tiktok-whisper on windows #4

Answered by daymade
Elemode451 asked this question in Q&A
Discussion options

You must be logged in to vote

hi elemode:

please follow the updated instruction in readme:

  1. change your path to whisper_cpp.
    tiktok-whipser is based on two whisper engine: local whisper_cpp and remote openai whisper api. you should modify the binaryPath and modelPath in func provideLocalTranscriber() of tiktok-whisper/internal/app/wire.go manually
    func provideLocalTranscriber() api.Transcriber {
        // Modify binaryPath and modelPath to your paths here!
        binaryPath := "~/workspace/cpp/whisper.cpp/main"
        modelPath := "~/workspace/cpp/whisper.cpp/models/ggml-large-v2.bin"
        return whisper_cpp.NewLocalTranscriber(binaryPath, modelPath)
    }
  2. then regenerate wire configration
    cd ./internal/app
    go install github.com/g…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Elemode451
Comment options

@daymade
Comment options

Answer selected by daymade
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