Whisper endpoint not working

#3
by Mihaiii - opened

Hi!

I tried the code from the readme. I filled in my HF_TOKEN and ENDPOINT_URL. I tried both https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo and https://api-inference.huggingface.co/models/openai/whisper-large-v3.

I receive the following error:

requests.exceptions.SSLError: HTTPSConnectionPool(host='api-inference.huggingface.co', port=443): Max retries exceeded with url: /models/openai/whisper-large-v3-turbo (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2426)')))

I disabled the certificate verification by adding verify=False, but I still get that error.

I also tried on a text model inference endpoint and it works ok.

The issue seems to be the file is too large. If I try with https://cdn-media.huggingface.co/speech_samples/sample1.flac, all works ok (and the file path is the only thing I change in my script). But this doesn't explain the error message. What's the file limit size?

Sign up or log in to comment