Spaces:
Running
Running
make : fix samples glob pattern (#3100)
Browse files
Makefile
CHANGED
|
@@ -48,10 +48,10 @@ tiny.en tiny base.en base small.en small medium.en medium large-v1 large-v2 larg
|
|
| 48 |
@echo "Running $@ on all samples in ./samples ..."
|
| 49 |
@echo "==============================================="
|
| 50 |
@echo ""
|
| 51 |
-
@for f in samples
|
| 52 |
echo "----------------------------------------------" ; \
|
| 53 |
echo "[+] Running $@ on $$f ... (run 'ffplay $$f' to listen)" ; \
|
| 54 |
-
|
| 55 |
echo "" ; \
|
| 56 |
./build/bin/whisper-cli -m models/[email protected] -f $$f ; \
|
| 57 |
echo "" ; \
|
|
|
|
| 48 |
@echo "Running $@ on all samples in ./samples ..."
|
| 49 |
@echo "==============================================="
|
| 50 |
@echo ""
|
| 51 |
+
@for f in samples/*.{flac,mp3,ogg,wav}; do \
|
| 52 |
echo "----------------------------------------------" ; \
|
| 53 |
echo "[+] Running $@ on $$f ... (run 'ffplay $$f' to listen)" ; \
|
| 54 |
+
echo "----------------------------------------------" ; \
|
| 55 |
echo "" ; \
|
| 56 |
./build/bin/whisper-cli -m models/[email protected] -f $$f ; \
|
| 57 |
echo "" ; \
|