fffiloni commited on
Commit
c8d083e
1 Parent(s): 504a7bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -37,6 +37,7 @@ def classic(prompt, negative_prompt, duration):
37
 
38
  def style_transfer(prompt, negative_prompt, audio_input):
39
  spec = spectro_from_wav(audio_input)
 
40
  new_spectro = pipe2(prompt=prompt, image=spec, strength=0.5, guidance_scale=7).images
41
  wav = wav_bytes_from_spectrogram_image(new_spectro[0])
42
  with open("output.wav", "wb") as f:
 
37
 
38
  def style_transfer(prompt, negative_prompt, audio_input):
39
  spec = spectro_from_wav(audio_input)
40
+ print(spec)
41
  new_spectro = pipe2(prompt=prompt, image=spec, strength=0.5, guidance_scale=7).images
42
  wav = wav_bytes_from_spectrogram_image(new_spectro[0])
43
  with open("output.wav", "wb") as f: