jc180 commited on
Commit
070850a
·
1 Parent(s): 0d68ce7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def classify_sound(file_path):
18
  wv = wv.mean(dim=0, keepdim=True)
19
 
20
  inputs = feature_extractor(
21
- wv.squeeze().numpy(), sampling_rate=44100, return_tensors="pt"
22
  )
23
 
24
  with torch.no_grad():
 
18
  wv = wv.mean(dim=0, keepdim=True)
19
 
20
  inputs = feature_extractor(
21
+ wv.squeeze().numpy(), sampling_rate=16000, return_tensors="pt"
22
  )
23
 
24
  with torch.no_grad():