deveix commited on
Commit
5107b4c
·
1 Parent(s): 907ce3c
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -332,8 +332,8 @@ async def handle_audio(file: UploadFile = File(...)):
332
  # features = extract_features(temp_filename)
333
  print("Extracted Features:", features)
334
  # features = pca.transform(features)
335
- # features = np.array(features).reshape(1, -1)
336
-
337
  features = scaler.transform(features)
338
 
339
  # proceed with an inference
 
332
  # features = extract_features(temp_filename)
333
  print("Extracted Features:", features)
334
  # features = pca.transform(features)
335
+ features = np.array(features)
336
+ # .reshape(1, -1)
337
  features = scaler.transform(features)
338
 
339
  # proceed with an inference