Liusuthu commited on
Commit
ceac5f8
·
verified ·
1 Parent(s): 0073adb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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