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

22 lines
587 B
Smarty
Raw Permalink 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 -}}