candenizkocak commited on
Commit
768e36b
·
verified ·
1 Parent(s): 9121222

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
  from datasets import load_dataset, Audio
5
 
6
  # Load your model
7
- classifier = pipeline("audio-classification", model="candenizkocak/wav2vec2-base_turkish_gender_classification")
8
 
9
  # Function to resample audio to 16kHz
10
  def resample_audio(audio_file, target_sampling_rate=16000):
 
4
  from datasets import load_dataset, Audio
5
 
6
  # Load your model
7
+ classifier = pipeline("audio-classification", model="candenizkocak/wav2vec2_turkish_gender_classification")
8
 
9
  # Function to resample audio to 16kHz
10
  def resample_audio(audio_file, target_sampling_rate=16000):