Ahmed107 commited on
Commit
1231312
·
verified ·
1 Parent(s): d0e94b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torchaudio
3
  from transformers import pipeline
4
 
5
  # Load your model
6
- classifier = pipeline("audio-classification", model="Ahmed107/wav2vec2-base-eos-v4-mulaw")
7
 
8
  # Function to resample audio to 16kHz and convert to mono if needed
9
  def resample_audio(audio_file, target_sampling_rate=16000):
 
3
  from transformers import pipeline
4
 
5
  # Load your model
6
+ classifier = pipeline("audio-classification", model="Ahmed107/wav2vec2-base-eos-v5-mulaw-eos-v5-mulaw")
7
 
8
  # Function to resample audio to 16kHz and convert to mono if needed
9
  def resample_audio(audio_file, target_sampling_rate=16000):