Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
| 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)
|