patrickvonplaten
commited on
Commit
•
2ab56ad
1
Parent(s):
4215e81
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ from audiocraft.data.audio import audio_write
|
|
52 |
|
53 |
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 |
|
|
|
52 |
|
53 |
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 |
|