Spaces:
Runtime error
Runtime error
Download debug.py from Twelve2five/fastrtc-voice-assistant: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/spaces/Twelve2five/fastrtc-voice-assistant/resolve/main/debug.py
- Command line
-
hf download hf://spaces/Twelve2five/fastrtc-voice-assistant/debug.py
-
curl -L -o debug.py https://huggingface.co/spaces/Twelve2five/fastrtc-voice-assistant/resolve/main/debug.py
225 Bytes
| import os | |
| import requests | |
| headers = {"xi-api-key": os.getenv("ELEVENLABS_API_KEY")} | |
| voices_response = requests.get("https://api.elevenlabs.io/v1/voices", headers=headers) | |
| print("Available voices:", voices_response.json()) |