Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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 |
|