Ahmed107 commited on
Commit
1a6b12f
·
verified ·
1 Parent(s): 127e17d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ pipe = pipeline("audio-classification", model=model,feature_extractor=feature_ex
16
 
17
  def classify_audio(filepath):
18
  preds = pipe(filepath)
 
19
  outputs = {}
20
  for p in preds:
21
  outputs[p["label"]] = p["score"]
 
16
 
17
  def classify_audio(filepath):
18
  preds = pipe(filepath)
19
+ print(preds)
20
  outputs = {}
21
  for p in preds:
22
  outputs[p["label"]] = p["score"]