thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
907 stars 55 forks source link

Bug: Failed to create a new whisper context on custom model #113

Closed ronme12 closed 3 months ago

ronme12 commented 3 months ago

What happened?

A bug happened!

Steps to reproduce

  1. step one...
  2. step two...

What OS are you seeing the problem on?

No response

Relevant log output

options: {
  "path": "C:\\Users\\ronbe\\AppData\\Local\\Temp\\zC4ScxQTXr.wav",
  "model_path": "C:\\Users\\ronbe\\AppData\\Local\\github.com.thewh1teagle.vibe\\model.bin",
  "lang": "auto",
  "verbose": false,
  "n_threads": 4,
  "init_prompt": "",
  "temperature": 0.4,
  "translate": null,
  "max_text_ctx": null
}

Caused by:
   0: failed to open model
   1: Failed to create a new whisper context.

Location:
    core\src\model.rs:49:6
App Version: 2.0.3
Commit Hash: 6c5ace63edd36807905fd906c26ec34fab1325ea
Arch: x86_64
Platform: windows
Kernel Version: 10.0.19045
OS: windows
OS Version: 10.0.19045
Models: ggml-medium.bin, model.bin
Default Model: "C:\\Users\\ronbe\\AppData\\Local\\github.com.thewh1teagle.vibe\\model.bin"

{
    "avx": {
        "enabled": true,
        "support": true
    },
    "avx2": {
        "enabled": true,
        "support": true
    },
    "f16c": {
        "enabled": true,
        "support": true
    },
    "fma": {
        "enabled": true,
        "support": true
    }
}
thewh1teagle commented 3 months ago

Thanks for reporting! Looks like the model file is invalid. Can you try to choose another model through the settings? And even reset vibe completely through the settings? Let me know if it helps