Update README.md
Browse files
README.md
CHANGED
|
@@ -59,7 +59,7 @@ from transformers import AutoFeatureExtractor, AutoModel
|
|
| 59 |
import librosa
|
| 60 |
|
| 61 |
# Load the model and feature extractor
|
| 62 |
-
model =
|
| 63 |
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/Bird-MAE-Base", trust_remote_code=True)
|
| 64 |
model.eval()
|
| 65 |
|
|
|
|
| 59 |
import librosa
|
| 60 |
|
| 61 |
# Load the model and feature extractor
|
| 62 |
+
model = AutoModel.from_pretrained("DBD-research-group/Bird-MAE-Base",trust_remote_code=True)
|
| 63 |
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/Bird-MAE-Base", trust_remote_code=True)
|
| 64 |
model.eval()
|
| 65 |
|