scale-catalog/stable/wyoming-openwakeword/2.0.8/templates/_args.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

22 lines
587 B
Smarty

{{- 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 -}}