From 8949e1b030da7067da206a580c5124ca85ec9fbc Mon Sep 17 00:00:00 2001 From: Anuj Solanki Date: Mon, 30 Sep 2024 23:39:02 +0200 Subject: Remove OpenAI's Whisper AI and its dependencies - Remove OpenAI's Whisper AI recipes and all its dependencies. - Add recipes for whisper-cpp, whisper-cpp-base and whisper-cpp-tiny model. - Add recipe for python-mpd. - Add voice-agent-config to /etc/default and update config path in agl-service-voiceagent.service Bug-AGL: SPEC-5200 Change-Id: Iaebd9c46930144b41659710202e9b737dbe9f60b Signed-off-by: Anuj Solanki --- templates/feature/agl-offline-voice-agent/50_local.conf.inc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates/feature/agl-offline-voice-agent/50_local.conf.inc') diff --git a/templates/feature/agl-offline-voice-agent/50_local.conf.inc b/templates/feature/agl-offline-voice-agent/50_local.conf.inc index 632f14be..f0c6221c 100644 --- a/templates/feature/agl-offline-voice-agent/50_local.conf.inc +++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc @@ -21,17 +21,22 @@ FEATURE_PACKAGES_agl-offline-voice-agent:append = " \ python3-sounddevice \ flutter-voiceassistant \ agl-service-voiceagent \ - whisper \ - openai-whisper-base \ + whisper-cpp \ + whisper-cpp-tiny \ " EXTRA_IMAGE_FEATURES += "agl-offline-voice-agent" PREFERRED_RPROVIDER_vosk-model ?= "vosk-model-small-en-us" -PREFERRED_RPROVIDER_whisper-model ?= "openai-whisper-base" +PREFERRED_RPROVIDER_whisper-model ?= "whisper-cpp-tiny" # bump bazel limits BAZEL_JOBS = "HOST_CPUS*.4" BAZEL_MEM = "HOST_RAM*.4" LICENSE_FLAGS_ACCEPTED += "commercial_ffmpeg" + +# no rasa support currently +# python3-rasa \ +# rasa-model-agl \ +# \ No newline at end of file -- cgit 1.2.3-korg