mxiean commited on
Commit
3939aed
·
verified ·
1 Parent(s): 9058e33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def text2story(text):
18
 
19
  # text2audio
20
  def text2audio(story_text):
21
- pipe = pipeline("text-to-speech", model="facebook/fastspeech2-en-ljspeech")
22
  audio_data = pipe(story_text)
23
  return audio_data
24
 
 
18
 
19
  # text2audio
20
  def text2audio(story_text):
21
+ pipe = pipeline("text-to-speech", model="espnet/kan-bayashi_ljspeech_vits")
22
  audio_data = pipe(story_text)
23
  return audio_data
24