Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,7 @@ def text2story(text):
|
|
60 |
# text2audio - Using HelpingAI-TTS-v1 model
|
61 |
def text2audio(story_text):
|
62 |
try:
|
63 |
-
|
64 |
-
synthesizer = pipeline("text-to-speech", model="HelpingAI/HelpingAI-TTS-v1")
|
65 |
|
66 |
# Limit text length to avoid timeouts
|
67 |
max_chars = 500
|
|
|
60 |
# text2audio - Using HelpingAI-TTS-v1 model
|
61 |
def text2audio(story_text):
|
62 |
try:
|
63 |
+
synthesizer = pipeline("text-to-speech", model="umarigan/speecht5_tts_tr_v1.0")
|
|
|
64 |
|
65 |
# Limit text length to avoid timeouts
|
66 |
max_chars = 500
|