DrishtiSharma commited on
Commit
d11ace4
1 Parent(s): 1879824

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -53,6 +53,7 @@ def postproc(input_sentence, preds):
53
  return preds
54
 
55
  model_name = "es/mai/tacotron2-DDC"
 
56
 
57
  def predict_and_ctc_lm_decode(input_file, speaker_idx: str=None):
58
  speech = load_and_fix_data(input_file, sampling_rate)
 
53
  return preds
54
 
55
  model_name = "es/mai/tacotron2-DDC"
56
+ MAX_TXT_LEN = 100
57
 
58
  def predict_and_ctc_lm_decode(input_file, speaker_idx: str=None):
59
  speech = load_and_fix_data(input_file, sampling_rate)