Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ torch and torchaudio need to be installed as well.
|
|
10 |
```python
|
11 |
from masked_prosody_model import MaskedProsodyModel
|
12 |
model = MaskedProsodyModel.from_pretrained("cdminix/masked_prosody_model")
|
13 |
-
representation = model.
|
14 |
```
|
15 |
|
16 |
This model was trained using Cloud TPUs supplied by Google’s TPU Research Cloud (TRC). I thank them for their support.
|
|
|
10 |
```python
|
11 |
from masked_prosody_model import MaskedProsodyModel
|
12 |
model = MaskedProsodyModel.from_pretrained("cdminix/masked_prosody_model")
|
13 |
+
representation = model.process_audio("some_audio.wav", layer=7) # layer between 0 and 15, 7 was used in the paper
|
14 |
```
|
15 |
|
16 |
This model was trained using Cloud TPUs supplied by Google’s TPU Research Cloud (TRC). I thank them for their support.
|