Yurii Paniv commited on
Commit
a63a536
1 Parent(s): a62ece4

Use same text limit as Coqui space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def tts(text: str):
48
  model_path, config_path, None, None, None,
49
  )
50
  text = preprocess_text(text)
51
- text_limit = 170
52
  text = text if len(text) < text_limit else text[0:text_limit] # mitigate crashes on hf space
53
  print(text, datetime.utcnow())
54
  if synthesizer is None:
 
48
  model_path, config_path, None, None, None,
49
  )
50
  text = preprocess_text(text)
51
+ text_limit = 100
52
  text = text if len(text) < text_limit else text[0:text_limit] # mitigate crashes on hf space
53
  print(text, datetime.utcnow())
54
  if synthesizer is None: