mrfakename commited on
Commit
b4ad12e
1 Parent(s): 2a0fc5f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ def synthesize(text, voice, multispeakersteps, msexpand):
38
  if text.strip() == "":
39
  raise gr.Error("You must enter some text")
40
  # if len(global_phonemizer.phonemize([text])) > 300:
41
- if len(text) > 300:
42
- raise gr.Error("Text must be under 300 characters")
43
  if msexpand:
44
  text = replace_acronyms(text)
45
  v = voice.lower()
 
38
  if text.strip() == "":
39
  raise gr.Error("You must enter some text")
40
  # if len(global_phonemizer.phonemize([text])) > 300:
41
+ if len(text) > 400:
42
+ raise gr.Error("Text must be under 400 characters")
43
  if msexpand:
44
  text = replace_acronyms(text)
45
  v = voice.lower()