patrickvonplaten
commited on
Commit
•
b4742db
1
Parent(s):
2ab56ad
Update README.md
Browse files
README.md
CHANGED
@@ -54,7 +54,6 @@ model = MusicGen.get_pretrained('melody')
|
|
54 |
model.set_generation_params(duration=8) # generate 8 seconds.
|
55 |
|
56 |
descriptions = ['happy rock', 'energetic EDM', 'sad jazz']
|
57 |
-
wav = model.generate(descriptions) # generates 3 samples.
|
58 |
|
59 |
melody, sr = torchaudio.load('./assets/bach.mp3')
|
60 |
# generates using the melody from the given audio and the provided descriptions.
|
|
|
54 |
model.set_generation_params(duration=8) # generate 8 seconds.
|
55 |
|
56 |
descriptions = ['happy rock', 'energetic EDM', 'sad jazz']
|
|
|
57 |
|
58 |
melody, sr = torchaudio.load('./assets/bach.mp3')
|
59 |
# generates using the melody from the given audio and the provided descriptions.
|