mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2023-11-04 02:52:44 +03:00
ref #10 : quick-and-dirty attempt for real-time audio transciption
- Processes input in chunks of 3 seconds. - Padding audio with silence - Uses 1 second audio from previous pass - No text context
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,3 +1,5 @@
|
||||
CC_SDL=`sdl2-config --cflags --libs`
|
||||
|
||||
main: ggml.o main.o
|
||||
g++ -pthread -o main ggml.o main.o
|
||||
./main -h
|
||||
@@ -8,6 +10,9 @@ ggml.o: ggml.c ggml.h
|
||||
main.o: main.cpp ggml.h
|
||||
g++ -pthread -O3 -std=c++11 -c main.cpp
|
||||
|
||||
stream: stream.cpp
|
||||
g++ -pthread -O3 -std=c++11 -o stream stream.cpp ggml.o $(CC_SDL)
|
||||
|
||||
# clean up the directory
|
||||
clean:
|
||||
rm -f *.o main
|
||||
|
||||
Reference in New Issue
Block a user