Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def text2story(text):
|
|
43 |
return final_story
|
44 |
|
45 |
def text2audio(story_text):
|
46 |
-
audio_generator = pipeline("text-to-speech", model="
|
47 |
audio_output = audio_generator(story_text)
|
48 |
return audio_output
|
49 |
|
|
|
43 |
return final_story
|
44 |
|
45 |
def text2audio(story_text):
|
46 |
+
audio_generator = pipeline("text-to-speech", model="espnet/kan-bayashi_ljspeech_vits")
|
47 |
audio_output = audio_generator(story_text)
|
48 |
return audio_output
|
49 |
|