patrickvonplaten commited on
Commit
2ab56ad
1 Parent(s): 4215e81

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
- wav = model.generate_unconditional(4) # generates 4 unconditional audio samples
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