ERROR - Invalid model name `./model.bin`
Closed this issue · 1 comments
Sorio6 commented
Hello.
I want create my own assistant so I downloaded the assistant example in assistant.py
from assistant import Assistant
def file(text):
with open("text.txt","a") as f:
f.write(text+"\n")
hope = Assistant(commands_callback=file,model="./model.bin")
hope.start()
I want to use my own model. But when I give the Assitant class its path. I get this error :
[2023-08-17 14:48:31,033] {utils.py:34} ERROR - Invalid model name `./model.bin`, available models are: ['tiny.en', 'tiny', 'base.en', 'base', 'small.en', 'small', 'medium.en', 'medium', 'large-v1', 'large']
[2023-08-17 14:48:31,034] {model.py:221} INFO - Initializing the model ...
whisper_init_from_file_no_state: loading model from '(null)'
Why this error ? And how to solve it ?
Thanks in advance.