Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,8 @@ def classify_continuous(audio):
|
|
64 |
text_results += punc.punctuate(_result)[0]
|
65 |
|
66 |
out_prob, score, index, text_lab = classifier.classify_batch(signal1)
|
|
|
|
|
67 |
return text_results, out_prob.squeeze(0).numpy(), text_lab[-1], Audio
|
68 |
|
69 |
|
|
|
64 |
text_results += punc.punctuate(_result)[0]
|
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 |
|