Liu Song’s Projects


~/Projects/whisper.cpp

git clone https://code.lsong.org/whisper.cpp

Commit

Commit
fd113687aa1702704e46cc1dfe51c1f8d6dd78aa
Author
vicalloy <[email protected]>
Date
2022-11-25 11:24:08 +0800 +0800
Diffstat
 Makefile | 2 +-

correct model name display on running samples


diff --git a/Makefile b/Makefile
index 5c66d7a2b3f42f51be66ed82395533a7d8d66068..125b2468ff60df1f6652275b875fd3b9db7a0a85 100644
--- a/Makefile
+++ b/Makefile
@@ -199,7 +199,7 @@ 	@echo ""
 	@for f in samples/*.wav; do \
 		echo "----------------------------------------------" ; \
 		SYSCTL_M := $(shell sysctl -n hw.optional.arm64)
-endif
+UNAME_M := $(shell uname -m)
 	    echo "----------------------------------------------" ; \
 		echo "" ; \
 		./main -m models/[email protected] -f $$f ; \