whisper.cpp/examples
Davidson Francis dda4b0ed06
main : check if input files exist before proceeding (#1872)
Until the most recent commit (3d42463), the main.cpp sample file does
not check whether the input files exist or not. Consequently, the
model is loaded first before reporting whether there was a failure or
not when processing a file. In environments with HDD, this can take
about 50 seconds or more, depending on the loaded model.

This commit addresses this issue by checking in advance whether the
input files exist or not.
2024-02-19 10:51:26 +02:00
..
addon.node examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
bench examples : initialize context params properly (#1852) 2024-02-11 16:39:12 +02:00
bench.wasm whisper : add support for large v3 (#1444) 2023-11-07 15:30:18 +02:00
command examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
command.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
lsp examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
main main : check if input files exist before proceeding (#1872) 2024-02-19 10:51:26 +02:00
python examples : add python example for transcription (#1744) 2024-01-13 19:37:18 +02:00
quantize quantize : fix load vocab crash when len is 128 (#1160) 2023-08-06 11:04:42 +03:00
server examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
stream examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
stream.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
talk examples : initialize context params properly (#1852) 2024-02-11 16:39:12 +02:00
talk-llama talk-llama : sync llama.cpp 2024-02-12 10:39:58 +02:00
talk.wasm examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
wchess examples : initialize context params properly (#1852) 2024-02-11 16:39:12 +02:00
whisper.android whisper.android : how to build with CLBlast (#1809) 2024-02-09 17:39:05 +02:00
whisper.android.java examples : add whisper.android.java for compatibility with older Android versions using Java (#1382) 2023-11-12 18:31:58 +02:00
whisper.nvim examples : vim plugin and LSP server (#1144) 2023-08-27 21:35:06 +03:00
whisper.objc docs : make model options / model install methods clearer (#1806) 2024-01-26 17:39:54 +02:00
whisper.swiftui whisper.swiftui : add .gitignore 2024-01-04 15:00:27 +02:00
whisper.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
CMakeLists.txt examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
common-ggml.cpp sync : ggml (#0) 2024-01-30 21:30:26 +02:00
common-ggml.h whisper : add integer quantization support (#540) 2023-04-30 18:51:57 +03:00
common-sdl.cpp sdl : fix audio callback (#1523) 2023-11-20 13:16:38 +02:00
common-sdl.h sdl : fix audio callback (#1523) 2023-11-20 13:16:38 +02:00
common.cpp examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
common.h examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
dr_wav.h refactoring : move main + stream in examples + other stuff 2022-10-25 20:53:48 +03:00
generate-karaoke.sh minor : add comment for using "generate_karaoke.sh" 2022-11-26 10:22:42 +02:00
grammar-parser.cpp whisper : add grammar-based sampling (#1229) 2023-11-13 10:51:34 +02:00
grammar-parser.h whisper : add grammar-based sampling (#1229) 2023-11-13 10:51:34 +02:00
helpers.js wchess : whisper assisted chess (#1595) 2023-12-14 15:58:26 +02:00
json.hpp examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
livestream.sh whisper : make large version explicit + fix data size units (#1493) 2023-11-15 19:42:25 +02:00
twitch.sh whisper : make large version explicit + fix data size units (#1493) 2023-11-15 19:42:25 +02:00
yt-wsp.sh yt-wsp.sh : print help on empty args 2023-02-18 09:42:31 +02:00