w11wo commited on
Commit
b17c40c
1 Parent(s): 3de376a

fixed inference fn

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ _ = hifigan.eval()
79
  hifigan.remove_weight_norm()
80
 
81
 
82
- def inference(text, speaker, n_timesteps):
83
  text = " ".join(word_tokenize(text))
84
  x = torch.LongTensor(
85
  intersperse(text_to_sequence(text, dictionary=cmu), len(symbols))
 
79
  hifigan.remove_weight_norm()
80
 
81
 
82
+ def inference(text, n_timesteps):
83
  text = " ".join(word_tokenize(text))
84
  x = torch.LongTensor(
85
  intersperse(text_to_sequence(text, dictionary=cmu), len(symbols))