mirror of
https://github.com/babysor/MockingBird.git
synced 2024-03-22 13:11:31 +08:00
Fix web generate with rnn bug
This commit is contained in:
parent
6009da7072
commit
374cc89cfa
|
@ -109,7 +109,7 @@ def webApp():
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user