Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def extract_features(sequence):
|
|
60 |
|
61 |
all_features = {**auto_features, **ctd_features, **pseudo_features, **dipeptide_features}
|
62 |
all_features = list(all_features.values())
|
63 |
-
all_features = np.array(all_features).reshape(1,
|
64 |
|
65 |
normalized_features = scaler.transform(all_features.T)
|
66 |
normalized_features = normalized_features.flatten()
|
|
|
60 |
|
61 |
all_features = {**auto_features, **ctd_features, **pseudo_features, **dipeptide_features}
|
62 |
all_features = list(all_features.values())
|
63 |
+
all_features = np.array(all_features).reshape(-1, 1) # Correct shape
|
64 |
|
65 |
normalized_features = scaler.transform(all_features.T)
|
66 |
normalized_features = normalized_features.flatten()
|