From: Georgi Gerganov Date: Thu, 5 Jan 2023 19:35:04 +0000 (+0200) Subject: minor : close #370 + Makefile build info print change X-Git-Tag: upstream/1.7.4~1657 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=196d738974ab0d8a2433e395de3bc4bd330714dd;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp minor : close #370 + Makefile build info print change --- diff --git a/Makefile b/Makefile index 4ff898c8..0fc17689 100644 --- a/Makefile +++ b/Makefile @@ -155,8 +155,8 @@ $(info I UNAME_M: $(UNAME_M)) $(info I CFLAGS: $(CFLAGS)) $(info I CXXFLAGS: $(CXXFLAGS)) $(info I LDFLAGS: $(LDFLAGS)) -$(info I CC: $(CC) $(CCV)) -$(info I CXX: $(CXX) $(CXXV)) +$(info I CC: $(CCV)) +$(info I CXX: $(CXXV)) $(info ) default: main diff --git a/examples/main/main.cpp b/examples/main/main.cpp index ce8b484d..93108947 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -557,7 +557,7 @@ int main(int argc, char ** argv) { } if (wav.sampleRate != WHISPER_SAMPLE_RATE) { - fprintf(stderr, "%s: WAV file '%s' must be 16 kHz\n", argv[0], fname_inp.c_str()); + fprintf(stderr, "%s: WAV file '%s' must be %i kHz\n", argv[0], fname_inp.c_str(), WHISPER_SAMPLE_RATE/1000); return 8; }