minor : close #370 + Makefile build info print change

pull/379/head
Georgi Gerganov 2 years ago
parent 84c6b42e65
commit 196d738974
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -155,8 +155,8 @@ $(info I UNAME_M: $(UNAME_M))
$(info I CFLAGS: $(CFLAGS)) $(info I CFLAGS: $(CFLAGS))
$(info I CXXFLAGS: $(CXXFLAGS)) $(info I CXXFLAGS: $(CXXFLAGS))
$(info I LDFLAGS: $(LDFLAGS)) $(info I LDFLAGS: $(LDFLAGS))
$(info I CC: $(CC) $(CCV)) $(info I CC: $(CCV))
$(info I CXX: $(CXX) $(CXXV)) $(info I CXX: $(CXXV))
$(info ) $(info )
default: main default: main

@ -557,7 +557,7 @@ int main(int argc, char ** argv) {
} }
if (wav.sampleRate != WHISPER_SAMPLE_RATE) { 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; return 8;
} }

Loading…
Cancel
Save