Update README.md
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ from transformers import AutoModel, AutoTokenizer
|
|
| 43 |
import torch
|
| 44 |
|
| 45 |
# Load model
|
| 46 |
-
model = AutoModel.from_pretrained("
|
| 47 |
```
|
| 48 |
|
| 49 |
See the code of [Speech Editing with TextSync Mimi](https://huggingface.co/spaces/potsawee/TextSyncMimi-SpeechEditing/blob/main/app.py) for a use-case (e.g., encoding, decoding, swapping) of the model
|
|
|
|
| 43 |
import torch
|
| 44 |
|
| 45 |
# Load model
|
| 46 |
+
model = AutoModel.from_pretrained("potsawee/TextSyncMimi-v1", trust_remote_code=True)
|
| 47 |
```
|
| 48 |
|
| 49 |
See the code of [Speech Editing with TextSync Mimi](https://huggingface.co/spaces/potsawee/TextSyncMimi-SpeechEditing/blob/main/app.py) for a use-case (e.g., encoding, decoding, swapping) of the model
|