jytole commited on
Commit
4de77e2
1 Parent(s): 7fcf913

Fixed ref to "text" variable

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def texttoaudio(prompt, neg_prompt, seed, inf_steps, guidance_scale, n_candidate
36
  # save the audio sample as a .wav file
37
  # scipy.io.wavfile.write("output.wav", rate=16000, data=audio)
38
  if waveforms.shape[0] > 1:
39
- waveform = score_waveforms(text, waveforms)
40
  else:
41
  waveform = waveforms[0]
42
 
 
36
  # save the audio sample as a .wav file
37
  # scipy.io.wavfile.write("output.wav", rate=16000, data=audio)
38
  if waveforms.shape[0] > 1:
39
+ waveform = score_waveforms(prompt, waveforms)
40
  else:
41
  waveform = waveforms[0]
42