fffiloni commited on
Commit
1f944a7
1 Parent(s): f5a7a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -46,9 +46,8 @@ def style_transfer(prompt, negative_prompt, audio_input):
46
 
47
  # Open the image
48
  im = image_from_spectrogram(im)
49
- # Convert the image to a NumPy array
50
- # Convert the image to a NumPy array
51
- im = np.array(im)
52
  new_spectro = pipe2(prompt=prompt, image=im, strength=0.5, guidance_scale=7).images
53
  wav = wav_bytes_from_spectrogram_image(new_spectro[0])
54
  with open("output.wav", "wb") as f:
 
46
 
47
  # Open the image
48
  im = image_from_spectrogram(im)
49
+
50
+
 
51
  new_spectro = pipe2(prompt=prompt, image=im, strength=0.5, guidance_scale=7).images
52
  wav = wav_bytes_from_spectrogram_image(new_spectro[0])
53
  with open("output.wav", "wb") as f: