Spaces:
Running
Running
minor : add comment for using "generate_karaoke.sh"
Browse files- examples/generate-karaoke.sh +11 -0
examples/generate-karaoke.sh
CHANGED
|
@@ -1,5 +1,16 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
executable="./main"
|
| 4 |
model="base.en"
|
| 5 |
model_path="models/ggml-$model.bin"
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
# Simple tool to record audio from the microphone and generate a karaoke video
|
| 4 |
+
# Usage:
|
| 5 |
+
#
|
| 6 |
+
# cd whisper.cpp
|
| 7 |
+
# make
|
| 8 |
+
#
|
| 9 |
+
# ./examples/generate-karaoke.sh [model] [step_ms]
|
| 10 |
+
#
|
| 11 |
+
# Press Ctrl+C to stop recording
|
| 12 |
+
#
|
| 13 |
+
|
| 14 |
executable="./main"
|
| 15 |
model="base.en"
|
| 16 |
model_path="models/ggml-$model.bin"
|