Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
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 |
-
|
50 |
-
|
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:
|