Spaces:
Runtime error
Runtime error
Update app.py scikit learn version
Browse files
app.py
CHANGED
|
@@ -3,6 +3,9 @@ import pandas as pd
|
|
| 3 |
import numpy as np
|
| 4 |
import pickle
|
| 5 |
from sklearn.preprocessing import StandardScaler
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
def preprocess_input(data_dict):
|
| 8 |
"""Preprocess input data to match the training format"""
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
import pickle
|
| 5 |
from sklearn.preprocessing import StandardScaler
|
| 6 |
+
import sklearn
|
| 7 |
+
|
| 8 |
+
print(f"Prediction environment scikit-learn version: {sklearn.__version__}")
|
| 9 |
|
| 10 |
def preprocess_input(data_dict):
|
| 11 |
"""Preprocess input data to match the training format"""
|