juancopi81 commited on
Commit
c5fcb82
1 Parent(s): 355d033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def generate_images(prompt: str, num_steps: int, unconditional_guidance_scale: i
25
  )
26
 
27
  pil_img = Image.fromarray(img[0])
28
- wav = wav_bytes_from_spectrogram_image(new_spectro[0])
29
  with open("output.wav", "wb") as f:
30
  f.write(wav[0].getbuffer())
31
  final_video = gr.make_waveform("output.wav", bg_image=pil_img)
 
25
  )
26
 
27
  pil_img = Image.fromarray(img[0])
28
+ wav = wav_bytes_from_spectrogram_image(pil_img)
29
  with open("output.wav", "wb") as f:
30
  f.write(wav[0].getbuffer())
31
  final_video = gr.make_waveform("output.wav", bg_image=pil_img)