ntt123 commited on
Commit
f1cf79d
1 Parent(s): c6c8db1

Update inference.py

Browse files
Files changed (1) hide show
  1. 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=10000))
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):