Spaces:
Runtime error
Runtime error
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -28,7 +28,7 @@ def load_tacotron_model(alphabet_file, config_file, model_file):
|
|
28 |
return alphabet, net, config
|
29 |
|
30 |
|
31 |
-
tacotron_inference_fn = pax.pure(lambda net, text: net.inference(text, max_len=
|
32 |
|
33 |
|
34 |
def text_to_mel(net, text, alphabet, config):
|
|
|
28 |
return alphabet, net, config
|
29 |
|
30 |
|
31 |
+
tacotron_inference_fn = pax.pure(lambda net, text: net.inference(text, max_len=500))
|
32 |
|
33 |
|
34 |
def text_to_mel(net, text, alphabet, config):
|