How to change language for answer?
I am trying to use whisper model. How can I choose which language I need for answer?Code:import jsonimport requestsheaders = {“Authorization”: f"Bearer {API_TOKEN}"}API_URL = “https://api-inference.huggingface.co/models/openai/whisper-medium”def query(filename):with open(filename, “rb”) as f:data = f.read()response = requests.request(“POST”, API_URL, headers=headers, data=data)return json.loads(response.content.decode(“utf-8”))data = query(“voice_850.ogg”)print(data)