Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ from transformers import pipeline
|
|
24 |
|
25 |
# text2audio
|
26 |
def text2audio(story_text):
|
27 |
-
text_to_audio = pipeline("text-to-speech", model="facebook/mms-tts-
|
28 |
audio_data = text_to_audio(story_text)
|
29 |
return audio_data
|
30 |
|
|
|
24 |
|
25 |
# text2audio
|
26 |
def text2audio(story_text):
|
27 |
+
text_to_audio = pipeline("text-to-speech", model="facebook/mms-tts-eng")
|
28 |
audio_data = text_to_audio(story_text)
|
29 |
return audio_data
|
30 |
|