Spaces:
Sleeping
Sleeping
Update prediction.py
Browse files- prediction.py +3 -0
prediction.py
CHANGED
@@ -1,5 +1,8 @@
|
|
|
|
|
|
1 |
import joblib
|
2 |
import pandas as pd
|
|
|
3 |
|
4 |
# Load the preprocessing pipeline
|
5 |
pipeline = joblib.load('full_pipeline_with_unit_price.pkl')
|
|
|
1 |
+
# prediction.py
|
2 |
+
|
3 |
import joblib
|
4 |
import pandas as pd
|
5 |
+
from transformers import UnitPriceTransformer
|
6 |
|
7 |
# Load the preprocessing pipeline
|
8 |
pipeline = joblib.load('full_pipeline_with_unit_price.pkl')
|