Pijush2023 commited on
Commit
0a4bba2
·
verified ·
1 Parent(s): f1f58de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 'ifnv0iyeLoEYHre9oxnx' # 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",
 
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",