scale-catalog/stable/wyoming-openwakeword/1.1.14/templates/_args.tpl

22 lines
587 B
Smarty
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{- define "wyoming-openwakeword.args" -}}
{{- $openwakeword := .Values.wyoming_openwakeword -}}
args:
- --model
- {{ $openwakeword.model | quote }}
{{- if $openwakeword.preload_model }}
- --preload-model
- {{ $openwakeword.model | quote }}
{{- end }}
{{- if $openwakeword.custom_model.path }}
- --custom-model-dir
- {{ $openwakeword.custom_model.path | quote }}
{{- end }}
{{- if $openwakeword.debug }}
- --debug
{{- end }}
- --threshold
- {{ $openwakeword.threshold | quote }}
- --trigger-level
- {{ $openwakeword.trigger_level | quote }}
{{- end -}}