CR7CAD commited on
Commit
b1c6cd6
·
verified ·
1 Parent(s): cd9e32e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def text2story(text):
47
  def text2audio(story_text):
48
  try:
49
  # Use the MeloTTS model which has better audio quality
50
- synthesizer = pipeline("text-to-speech", model="myshell-ai/MeloTTS-English")
51
 
52
  # Limit text length to avoid timeouts
53
  max_chars = 500
 
47
  def text2audio(story_text):
48
  try:
49
  # Use the MeloTTS model which has better audio quality
50
+ synthesizer = pipeline("text-to-speech", model="capleaf/viXTTS")
51
 
52
  # Limit text length to avoid timeouts
53
  max_chars = 500