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