Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def classify_audio(filepath):
|
|
| 31 |
outputs = {}
|
| 32 |
pred_time = round(timer() - start_time, 5)
|
| 33 |
for p in preds:
|
| 34 |
-
outputs[p["label"]] = p["score"]
|
| 35 |
return outputs
|
| 36 |
|
| 37 |
|
|
|
|
| 31 |
outputs = {}
|
| 32 |
pred_time = round(timer() - start_time, 5)
|
| 33 |
for p in preds:
|
| 34 |
+
outputs[p["label"]] = p["score"], timer
|
| 35 |
return outputs
|
| 36 |
|
| 37 |
|