Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def text2story(text):
|
|
| 43 |
|
| 44 |
# text2audio
|
| 45 |
def text2audio(story_text):
|
| 46 |
-
tts = pipeline("text-to-speech", model="
|
| 47 |
audio_output = tts(story_text)
|
| 48 |
|
| 49 |
return {
|
|
|
|
| 43 |
|
| 44 |
# text2audio
|
| 45 |
def text2audio(story_text):
|
| 46 |
+
tts = pipeline("text-to-speech", model="parler-tts/parler-tts-mini-v1.1")
|
| 47 |
audio_output = tts(story_text)
|
| 48 |
|
| 49 |
return {
|