Update app.py
Browse files
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"]
|