Download whisper.cpp/examples/python/test_whisper_processor.py from Dyen/Rovin: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/examples/python/test_whisper_processor.py
- Command line
-
hf download hf://spaces/Dyen/Rovin/whisper.cpp/examples/python/test_whisper_processor.py
-
curl -L -o test_whisper_processor.py https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/examples/python/test_whisper_processor.py
189 Bytes
| 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}") |