deveix commited on
Commit
51da630
·
1 Parent(s): 95641f9

print results

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -21,7 +21,6 @@ import opensmile
21
 
22
  import ffmpeg
23
  import noisereduce as nr
24
- import numpy as np
25
 
26
  default_sample_rate=22050
27
 
@@ -339,6 +338,7 @@ async def handle_audio(file: UploadFile = File(...)):
339
 
340
  # proceed with an inference
341
  results = model.predict(features)
 
342
  # decoded_predictions = [label_encoder.classes_[i] for i in results]
343
 
344
  # # Decode the predictions using the label encoder
 
21
 
22
  import ffmpeg
23
  import noisereduce as nr
 
24
 
25
  default_sample_rate=22050
26
 
 
338
 
339
  # proceed with an inference
340
  results = model.predict(features)
341
+ print(results)
342
  # decoded_predictions = [label_encoder.classes_[i] for i in results]
343
 
344
  # # Decode the predictions using the label encoder