Download test_whisper_processor.py from mosesdaudu/whisper-medium-GGML: direct link, hf CLI and curl.
- Browser
- Download file 170 Bytes
-
https://huggingface.co/mosesdaudu/whisper-medium-GGML/resolve/main/test_whisper_processor.py
- Command line
-
hf download hf://mosesdaudu/whisper-medium-GGML/test_whisper_processor.py
-
curl -L -o test_whisper_processor.py https://huggingface.co/mosesdaudu/whisper-medium-GGML/resolve/main/test_whisper_processor.py
170 Bytes
| import whisper_processor | |
| # try:/ | |
| result = whisper_processor.process_audio("down_aud.wav", "ggml-model") | |
| print(result) | |
| # except Exception as e: | |
| # print(f"Error: {e}") |