DrishtiSharma commited on
Commit
71e5c37
1 Parent(s): 8671c65

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 AutoFeatureExtractor, pipeline
4
 
5
 
6
  def load_and_fix_data(input_file, model_sampling_rate):
7
- speech, sample_rate = librosa.load(input_file)
8
  if len(speech.shape) > 1:
9
  speech = speech[:, 0] + speech[:, 1]
10
  if sample_rate != model_sampling_rate:
 
4
 
5
 
6
  def load_and_fix_data(input_file, model_sampling_rate):
7
+ speech, sample_rate = librosa.load(input_file)
8
  if len(speech.shape) > 1:
9
  speech = speech[:, 0] + speech[:, 1]
10
  if sample_rate != model_sampling_rate: