mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 01:17:28 +08:00
Update README.md (#1045)
* Update README.md A small typo was fixed in the musicgen README.md. * Update musicgen/README.md --------- Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
This commit is contained in:
parent
7612c646f3
commit
1e0cda68c6
@ -16,8 +16,7 @@ pip install -r requirements.txt
|
|||||||
An example using the model:
|
An example using the model:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import mlx.core as mx
|
from musicgen import MusicGen
|
||||||
from music_gen import MusicGen
|
|
||||||
from utils import save_audio
|
from utils import save_audio
|
||||||
|
|
||||||
model = MusicGen.from_pretrained("facebook/musicgen-medium")
|
model = MusicGen.from_pretrained("facebook/musicgen-medium")
|
||||||
|
Loading…
Reference in New Issue
Block a user