And use it in the following codes.
import os import base64 from leptonai.client import Client api_token = os.environ.get('LEPTON_API_TOKEN') c = Client("https://whisperx.lepton.run", token=api_token) result=c.run( input="https://www.lepton.ai/playground/whisperx/stew-for-dinner.flac" ) print(result[0]["text"])
The rate limit for the Model APIs is 10 requests per minute across all models under Basic Plan. For the pricing plan, you may check out pricing page, If you need a higher rate limit with SLA or dedicated deployment, please contact us.