patrickvonplaten
commited on
Commit
·
b7b84d2
1
Parent(s):
adba853
Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ pipeline = pipeline.to("cuda")
|
|
22 |
audios = pipeline(audio_length_in_s=4.0).audios
|
23 |
|
24 |
# To save locally
|
25 |
-
for audio in audios:
|
26 |
scipy.io.wavfile.write(f"maestro_test_{i}.wav", pipe.unet.sample_rate, audio.transpose())
|
27 |
|
28 |
# To dislay in google colab
|
|
|
22 |
audios = pipeline(audio_length_in_s=4.0).audios
|
23 |
|
24 |
# To save locally
|
25 |
+
for i, audio in enumerate(audios):
|
26 |
scipy.io.wavfile.write(f"maestro_test_{i}.wav", pipe.unet.sample_rate, audio.transpose())
|
27 |
|
28 |
# To dislay in google colab
|