]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
main : allow a response-file as the sole parameter (#2019)
authorulatekh <redacted>
Tue, 9 Apr 2024 15:31:16 +0000 (08:31 -0700)
committerGitHub <redacted>
Tue, 9 Apr 2024 15:31:16 +0000 (18:31 +0300)
commit671b4bde6cfa3351a97d058e89388d4642b51532
tree52acf5f0b6b69a90867bc6b2a53a921a9579c756
parentc8eeb93a6ad575f56eae1fa1e8235d995f218ee3
main : allow a response-file as the sole parameter (#2019)

* The "main" example now allows a response-file as the sole parameter.

A response-file is a text file with command-line parameters, one per line.
Prefix the name of the response-file with "@" to identify it as such.
It's used under MS Windows to work around command-line length limits.
It may be useful under other platforms to simplify character-escaping.

* minor : style

---------

Co-authored-by: Georgi Gerganov <redacted>
examples/main/main.cpp