parent
24cd12f647
commit
741a017326
@ -0,0 +1,3 @@
|
||||
set(TARGET main)
|
||||
add_executable(${TARGET} main.cpp)
|
||||
target_link_libraries(${TARGET} PRIVATE whisper ${CMAKE_THREAD_LIBS_INIT})
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,4 @@
|
||||
import subprocess
|
||||
batcmd="./main -m models/ggml-medium.en.bin -f samples/jfk.wav -t 8 --print_colors"
|
||||
result = subprocess.check_output(batcmd, shell=True)
|
||||
print(str(result, 'utf-8'))
|
@ -0,0 +1,4 @@
|
||||
import subprocess
|
||||
batcmd="./main -m models/ggml-medium.en.bin -f samples/jfk.wav -t 8 --print_colors --output-words"
|
||||
result = subprocess.check_output(batcmd, shell=True)
|
||||
print(str(result, 'utf-8'))
|
Loading…
Reference in new issue