Spaces:
Runtime error
Runtime error
ORI-Muchim
commited on
Commit
•
424ac31
1
Parent(s):
a562046
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def create_tts_fn(net_g, hps, speaker_ids):
|
|
27 |
def tts_fn(text, speaker, speed):
|
28 |
if limitation:
|
29 |
text_len = len(text)
|
30 |
-
max_len =
|
31 |
if text_len > max_len:
|
32 |
return "Error: Text is too long", None
|
33 |
|
|
|
27 |
def tts_fn(text, speaker, speed):
|
28 |
if limitation:
|
29 |
text_len = len(text)
|
30 |
+
max_len = 5000
|
31 |
if text_len > max_len:
|
32 |
return "Error: Text is too long", None
|
33 |
|