mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-27 15:58:50 +00:00
7 lines
189 B
Python
7 lines
189 B
Python
|
import whisper_processor
|
||
|
|
||
|
try:
|
||
|
result = whisper_processor.process_audio("./audio/wake_word_detected16k.wav", "base.en")
|
||
|
print(result)
|
||
|
except Exception as e:
|
||
|
print(f"Error: {e}")
|