Spaces:
Build error
Build error
Leo Liu commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def text2story(text):
|
|
| 17 |
|
| 18 |
# text2audio
|
| 19 |
def text2audio(story_text):
|
| 20 |
-
pipe = pipeline("text-to-audio", model="
|
| 21 |
audio_data = pipe(story_text)
|
| 22 |
return audio_data
|
| 23 |
|
|
|
|
| 17 |
|
| 18 |
# text2audio
|
| 19 |
def text2audio(story_text):
|
| 20 |
+
pipe = pipeline("text-to-audio", model="Matthijs/mms-tts-eng")
|
| 21 |
audio_data = pipe(story_text)
|
| 22 |
return audio_data
|
| 23 |
|