]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : add loader class to allow loading from buffer and others (#353)
authorSyahmi Azhar <redacted>
Sun, 8 Jan 2023 11:03:33 +0000 (19:03 +0800)
committerGitHub <redacted>
Sun, 8 Jan 2023 11:03:33 +0000 (13:03 +0200)
commit1512545149e9463c0b478cd0203638c501b0ac29
tree737872ad3f37296d0922c79b1bb07c9a02850cf2
parent52a3e0c92a8be5150d2a59e492b4943ca8a623b0
whisper : add loader class to allow loading from buffer and others (#353)

* whisper : add loader to allow loading from other than file

* whisper : rename whisper_init to whisper_init_from_file

* whisper : add whisper_init_from_buffer

* android : Delete local.properties

* android : load models directly from assets

* whisper : adding <stddef.h> needed for size_t + code style

Co-authored-by: Georgi Gerganov <redacted>
20 files changed:
bindings/go/whisper.go
bindings/javascript/emscripten.cpp
examples/bench.wasm/emscripten.cpp
examples/bench/bench.cpp
examples/command.wasm/emscripten.cpp
examples/command/command.cpp
examples/main/main.cpp
examples/stream.wasm/emscripten.cpp
examples/stream/stream.cpp
examples/talk.wasm/emscripten.cpp
examples/talk/talk.cpp
examples/whisper.android/app/src/main/java/com/whispercppdemo/ui/main/MainScreenViewModel.kt
examples/whisper.android/app/src/main/java/com/whispercppdemo/whisper/LibWhisper.kt
examples/whisper.android/app/src/main/jni/whisper/jni.c
examples/whisper.android/local.properties [deleted file]
examples/whisper.objc/whisper.objc/ViewController.m
examples/whisper.swiftui/whisper.cpp.swift/LibWhisper.swift
examples/whisper.wasm/emscripten.cpp
whisper.cpp
whisper.h