Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ def extract_features(sequence):
|
|
| 70 |
all_features_dict.update(pseudo_features)
|
| 71 |
|
| 72 |
feature_values = list(all_features_dict.values())
|
| 73 |
-
feature_array = np.array(feature_values).reshape(
|
| 74 |
normalized_features = scaler.transform(feature_array.T)
|
| 75 |
normalized_features = normalized_features.flatten()
|
| 76 |
|
|
|
|
| 70 |
all_features_dict.update(pseudo_features)
|
| 71 |
|
| 72 |
feature_values = list(all_features_dict.values())
|
| 73 |
+
feature_array = np.array(feature_values).reshape(1, -1)
|
| 74 |
normalized_features = scaler.transform(feature_array.T)
|
| 75 |
normalized_features = normalized_features.flatten()
|
| 76 |
|