abdeladim-s / subsai

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️

Home Page:https://abdeladim-s.github.io/subsai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to modify the config scheme

sharefly617 opened this issue · comments

how to modify the config scheme if i want to use in
create_model('openai/whisper', {'model_type': 'base'},model_config={"vad":"auditok"})
can you give me an example?

@sharefly617,

You can provide a dict containing your config scheme to the model_config param.
like the following for example:

create_model('openai/whisper', model_config={'model_type': 'base', "vad":"auditok"})

But you have to check what configs that model support first.
Please take a look at the docs for the config_schema of every model.