reach-vb HF staff commited on
Commit
6350085
1 Parent(s): 8343c7c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ import scipy
62
 
63
  synthesiser = pipeline("text-to-audio", "facebook/musicgen-small")
64
 
65
- music = pipe("lo-fi music with a soothing melody", forward_params={"do_sample": True})
66
 
67
  scipy.io.wavfile.write("musicgen_out.wav", rate=music["sampling_rate"], music=audio["audio"])
68
  ```
 
62
 
63
  synthesiser = pipeline("text-to-audio", "facebook/musicgen-small")
64
 
65
+ music = synthesiser("lo-fi music with a soothing melody", forward_params={"do_sample": True})
66
 
67
  scipy.io.wavfile.write("musicgen_out.wav", rate=music["sampling_rate"], music=audio["audio"])
68
  ```