Ahmed107 commited on
Commit
3fd4a28
·
verified ·
1 Parent(s): 922c47d

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/Hamsa-Conversational-v1.0-mulaw-eos-v3-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/whisper-small-ar-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):