duault commited on
Commit
ace7055
·
verified ·
1 Parent(s): 6b93db5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -27,8 +27,8 @@ from transformers import Wav2Vec2ForSequenceClassification, Wav2Vec2FeatureExtra
27
  import torch
28
 
29
  # Load model and feature extractor
30
- model = Wav2Vec2ForSequenceClassification.from_pretrained("username/repo_name")
31
- feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("username/repo_name")
32
 
33
  # Process audio file
34
  audio_path = "path/to/audio.wav"
 
27
  import torch
28
 
29
  # Load model and feature extractor
30
+ model = Wav2Vec2ForSequenceClassification.from_pretrained("gastoooon/music-classifier")
31
+ feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("facebook/wav2vec2-large")
32
 
33
  # Process audio file
34
  audio_path = "path/to/audio.wav"