3loi commited on
Commit
357c84b
1 Parent(s): 3f9c75a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def classify_audio(audio_file):
25
  output = ''
26
  if sr != 16000:
27
  y = librosa.resample(y, orig_sr=sr, target_sr=model_sr)
28
- output += "{} sampling rate is uncompatible, converted to {} as the model was trained on {} sampling rate<br>".format(sr, model_sr, model_sr)
29
 
30
 
31
  norm_wav = (y - mean) / (std+0.000001)
 
25
  output = ''
26
  if sr != 16000:
27
  y = librosa.resample(y, orig_sr=sr, target_sr=model_sr)
28
+ output += "{} sampling rate is uncompatible, converted to {} as the model was trained on {} sampling rate\n".format(sr, model_sr, model_sr)
29
 
30
 
31
  norm_wav = (y - mean) / (std+0.000001)