Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -514,7 +514,7 @@ def show_map_if_details(history,choice):
|
|
| 514 |
|
| 515 |
def generate_audio_elevenlabs(text):
|
| 516 |
XI_API_KEY = os.environ['ELEVENLABS_API']
|
| 517 |
-
VOICE_ID = '
|
| 518 |
tts_url = f"https://api.elevenlabs.io/v1/text-to-speech/{VOICE_ID}/stream"
|
| 519 |
headers = {
|
| 520 |
"Accept": "application/json",
|
|
|
|
| 514 |
|
| 515 |
def generate_audio_elevenlabs(text):
|
| 516 |
XI_API_KEY = os.environ['ELEVENLABS_API']
|
| 517 |
+
VOICE_ID = 'd9MIrwLnvDeH7aZb61E9' # Replace with your voice ID
|
| 518 |
tts_url = f"https://api.elevenlabs.io/v1/text-to-speech/{VOICE_ID}/stream"
|
| 519 |
headers = {
|
| 520 |
"Accept": "application/json",
|