Open sharefly617 opened 12 months ago
@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.
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?