CR7CAD commited on
Commit
754622e
·
verified ·
1 Parent(s): f9b627f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- # Use the HelpingAI TTS model as requested
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