Spaces:
Running
Running
deveix
commited on
Commit
·
c589841
1
Parent(s):
c114093
transform
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -252,8 +252,8 @@ async def handle_audio(file: UploadFile = File(...)):
|
|
252 |
features = extract_features(temp_filename)
|
253 |
print("Extracted Features:", features)
|
254 |
|
255 |
-
features = mlp_scaler.
|
256 |
-
features = mlp_pca.
|
257 |
|
258 |
# Dummy example to proceed with an inference
|
259 |
results = mlp_model.predict(features)
|
|
|
252 |
features = extract_features(temp_filename)
|
253 |
print("Extracted Features:", features)
|
254 |
|
255 |
+
features = mlp_scaler.transform(features)
|
256 |
+
features = mlp_pca.transform(features)
|
257 |
|
258 |
# Dummy example to proceed with an inference
|
259 |
results = mlp_model.predict(features)
|