ciyidogan commited on
Commit
4f2ca6a
·
verified ·
1 Parent(s): 57ab586

Update tts_interface.py

Browse files
Files changed (1) hide show
  1. tts_interface.py +2 -2
tts_interface.py CHANGED
@@ -44,7 +44,7 @@ class ElevenLabsTTS(TTSInterface):
44
  def __init__(self, api_key: str):
45
  self.api_key = api_key
46
  self.base_url = "https://api.elevenlabs.io/v1"
47
- self.default_voice_id = "21m00Tcm4TlvDq8ikWAM" # Rachel voice
48
 
49
  # Debug log
50
  masked_key = f"{api_key[:4]}...{api_key[-4:]}" if len(api_key) > 8 else "***"
@@ -64,7 +64,7 @@ class ElevenLabsTTS(TTSInterface):
64
  # Default parameters
65
  data = {
66
  "text": text,
67
- "model_id": kwargs.get("model_id", "EXAVITQu4vr4xnSDxMaL"),
68
  "voice_settings": kwargs.get("voice_settings", {
69
  "stability": 0.4, # Biraz arttırıldı (önceden 0.5)
70
  "similarity_boost": 0.75, # Arttırıldı (önceden 0.75)
 
44
  def __init__(self, api_key: str):
45
  self.api_key = api_key
46
  self.base_url = "https://api.elevenlabs.io/v1"
47
+ self.default_voice_id = "EXAVITQu4vr4xnSDxMaL" # Sarah voice
48
 
49
  # Debug log
50
  masked_key = f"{api_key[:4]}...{api_key[-4:]}" if len(api_key) > 8 else "***"
 
64
  # Default parameters
65
  data = {
66
  "text": text,
67
+ "model_id": kwargs.get("model_id", "eleven_multilingual_v2"),
68
  "voice_settings": kwargs.get("voice_settings", {
69
  "stability": 0.4, # Biraz arttırıldı (önceden 0.5)
70
  "similarity_boost": 0.75, # Arttırıldı (önceden 0.75)