Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,9 @@ def classify_continuous(audio):
|
|
65 |
|
66 |
out_prob, score, index, text_lab = classifier.classify_batch(signal1)
|
67 |
print(type(out_prob.squeeze(0).numpy()))
|
|
|
68 |
print(type(text_lab[-1]))
|
|
|
69 |
return text_results, out_prob.squeeze(0).numpy(), text_lab[-1], Audio
|
70 |
|
71 |
|
|
|
65 |
|
66 |
out_prob, score, index, text_lab = classifier.classify_batch(signal1)
|
67 |
print(type(out_prob.squeeze(0).numpy()))
|
68 |
+
print(out_prob.squeeze(0).numpy())
|
69 |
print(type(text_lab[-1]))
|
70 |
+
print(text_lab[-1])
|
71 |
return text_results, out_prob.squeeze(0).numpy(), text_lab[-1], Audio
|
72 |
|
73 |
|