import requests RENDER_API_URL = "https://saivahini.onrender.com/process_audio" # ✅ Load a sample audio file (Make sure you upload `test.wav` in HF Spaces) audio_file_path = "test.wav" # ✅ Send a test request to Render API with open(audio_file_path, "rb") as audio_file: response = requests.post(RENDER_API_URL, files={"file": ("test.wav", audio_file, "audio/wav")}) # ✅ Print the response print("Status Code:", response.status_code) print("Response:", response.json())