diff --git a/examples/cli/cli.cpp b/examples/cli/cli.cpp index 4e84c1b2..dab81359 100644 --- a/examples/cli/cli.cpp +++ b/examples/cli/cli.cpp @@ -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;