fffiloni commited on
Commit
702683a
·
1 Parent(s): 96bc128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def style_transfer(prompt, negative_prompt, audio_input):
40
  spec = spectro_from_wav(audio_input)
41
  print(spec)
42
  # Open the image
43
- im = Image.open('image.png')
44
 
45
  # Convert the image to a NumPy array
46
  image = np.array(im)
 
40
  spec = spectro_from_wav(audio_input)
41
  print(spec)
42
  # Open the image
43
+ im = Image.open(spec)
44
 
45
  # Convert the image to a NumPy array
46
  image = np.array(im)