Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def create_tts_fn(model, hps, speaker_ids):
|
|
28 |
def tts_fn(text, speaker, speed, is_phoneme):
|
29 |
if limitation:
|
30 |
text_len = len(text)
|
31 |
-
max_len =
|
32 |
if is_phoneme:
|
33 |
max_len *= 3
|
34 |
else:
|
|
|
28 |
def tts_fn(text, speaker, speed, is_phoneme):
|
29 |
if limitation:
|
30 |
text_len = len(text)
|
31 |
+
max_len = 300
|
32 |
if is_phoneme:
|
33 |
max_len *= 3
|
34 |
else:
|