Update README.md
Browse files
README.md
CHANGED
@@ -24,6 +24,10 @@ license: apache-2.0
|
|
24 |
!pip install librosa
|
25 |
```
|
26 |
|
|
|
|
|
|
|
|
|
27 |
### Prediction
|
28 |
|
29 |
```python
|
@@ -32,6 +36,7 @@ import torch.nn as nn
|
|
32 |
import torch.nn.functional as F
|
33 |
import torchaudio
|
34 |
from transformers import AutoConfig, Wav2Vec2FeatureExtractor
|
|
|
35 |
|
36 |
import librosa
|
37 |
import IPython.display as ipd
|
|
|
24 |
!pip install librosa
|
25 |
```
|
26 |
|
27 |
+
```bash
|
28 |
+
!git clone https://github.com/m3hrdadfi/soxan.git .
|
29 |
+
```
|
30 |
+
|
31 |
### Prediction
|
32 |
|
33 |
```python
|
|
|
36 |
import torch.nn.functional as F
|
37 |
import torchaudio
|
38 |
from transformers import AutoConfig, Wav2Vec2FeatureExtractor
|
39 |
+
from src.models import Wav2Vec2ForSpeechClassification, HubertForSpeechClassification
|
40 |
|
41 |
import librosa
|
42 |
import IPython.display as ipd
|