diff options
Diffstat (limited to 'meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb')
-rw-r--r-- | meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb b/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb new file mode 100644 index 00000000..42d75881 --- /dev/null +++ b/meta-offline-voice-agent/recipes-whisper/whisper-model/openai-whisper-base.bb @@ -0,0 +1,14 @@ +SUMMARY = "OpenAI Whisper base model" +HOMEPAGE = "https://github.com/openai/whisper" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/LICENSE;md5=b1b8ea5cbbe899304ac6566613a3b74e" + +SRC_URI = "https://openaipublic.azureedge.net/main/whisper/models/ed3a0b6b1c0edf879ad9b11b1af5a0e6ab5db9205f891f668f8b0e6c6326e34e/base.pt" +SRC_URI[sha256sum] = "ed3a0b6b1c0edf879ad9b11b1af5a0e6ab5db9205f891f668f8b0e6c6326e34e" + +do_install(){ + install -d ${D}/usr/share/whisper + cp -R ${WORKDIR}/base.pt ${D}/usr/share/whisper/ +} + +FILES:${PN} = " /usr/share/whisper /usr/share/whisper/base.pt " |