Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ import scipy
|
|
62 |
|
63 |
synthesiser = pipeline("text-to-audio", "facebook/musicgen-small")
|
64 |
|
65 |
-
music =
|
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 |
```
|