mrfakename commited on
Commit
6c306f4
1 Parent(s): b4ad12e

Revert "Update"

Browse files

This reverts commit b4ad12e0242ba09f715e9a8356fbdb93388b6904.

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) > 400:
42
- raise gr.Error("Text must be under 400 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) > 300:
42
+ raise gr.Error("Text must be under 300 characters")
43
  if msexpand:
44
  text = replace_acronyms(text)
45
  v = voice.lower()