Jasson9 commited on
Commit
1774fb5
1 Parent(s): 9d9b3ad

change max length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def create_tts_fn(model, hps, speaker_ids):
45
  def tts_fn(text, speaker, speed, is_symbol):
46
  if limitation:
47
  text_len = len(re.sub("\[([A-Z]{2})\]", "", text))
48
- max_len = 150
49
  if is_symbol:
50
  max_len *= 3
51
  if text_len > max_len:
 
45
  def tts_fn(text, speaker, speed, is_symbol):
46
  if limitation:
47
  text_len = len(re.sub("\[([A-Z]{2})\]", "", text))
48
+ max_len = 900
49
  if is_symbol:
50
  max_len *= 3
51
  if text_len > max_len: