This commit is contained in:
Dmitry Atamanov 2026-04-26 00:52:48 +02:00 committed by GitHub
commit 5900f5495d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -83,7 +83,11 @@ struct whisper_params {
std::string language = "en";
std::string prompt;
#ifdef __linux__
std::string font_path = "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf";
#else
std::string font_path = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf";
#endif
std::string model = "models/ggml-base.en.bin";
std::string grammar;
std::string grammar_rule;