pnnbao-ump commited on
Commit
8c3cd9c
·
verified ·
1 Parent(s): c68085c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ VOICE_IDS = [vid for _, vid in PRESET_VOICES]
37
  VOICE_SET = set(VOICE_IDS)
38
  DEFAULT_VOICE = tts._default_voice or (VOICE_IDS[0] if VOICE_IDS else None)
39
  # Two distinct voices for the default conversation demo, if available.
40
- SPK_A = VOICE_IDS[0] if VOICE_IDS else DEFAULT_VOICE
41
- SPK_B = VOICE_IDS[1] if len(VOICE_IDS) > 1 else SPK_A
42
 
43
  DEFAULT_TEXT = (
44
  "Mình từng nghĩ giọng nói AI bây giờ nghe kiểu gì cũng bị đơ đơ, máy móc... "
 
37
  VOICE_SET = set(VOICE_IDS)
38
  DEFAULT_VOICE = tts._default_voice or (VOICE_IDS[0] if VOICE_IDS else None)
39
  # Two distinct voices for the default conversation demo, if available.
40
+ SPK_A = VOICE_IDS[5] if VOICE_IDS else DEFAULT_VOICE
41
+ SPK_B = VOICE_IDS[8] if len(VOICE_IDS) > 1 else SPK_A
42
 
43
  DEFAULT_TEXT = (
44
  "Mình từng nghĩ giọng nói AI bây giờ nghe kiểu gì cũng bị đơ đơ, máy móc... "