import requests url = "https://codingyash-wshiper-api.hf.space/transcribe/" files = {"file": open("test.wav", "rb")} response = requests.post(url, files=files) print(response.json())