# Get your space URL SPACE_URL="https://pgits-tts-gpu-service.hf.space" # Test the API curl -X POST "$SPACE_URL/api/predict" \ -H "Content-Type: application/json" \ -d '{ "data": [ "This is a test of the TTS API", "v2/en_speaker_6" ] }' | python3 -m json.tool