Skip to content

Commit

Permalink
Fix web generate with rnn bug
Browse files Browse the repository at this point in the history
  • Loading branch information
babysor committed Mar 19, 2022
1 parent 6009da7 commit 374cc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def synthesize():
spec = np.concatenate(specs, axis=1)
sample_rate = Synthesizer.sample_rate
if "vocoder" in request.form and request.form["vocoder"] == "WaveRNN":
wav = rnn_vocoder.infer_waveform(spec)
wav, sample_rate = rnn_vocoder.infer_waveform(spec)
else:
wav, sample_rate = gan_vocoder.infer_waveform(spec)

Expand Down

0 comments on commit 374cc89

Please sign in to comment.