Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- app.py +2 -1
- prediction.py +2 -1
app.py
CHANGED
@@ -13,7 +13,8 @@ from eda import (average_sales_by_region, average_sales_and_profit_over_time,
|
|
13 |
|
14 |
from prediction import make_prediction
|
15 |
|
16 |
-
|
|
|
17 |
|
18 |
# Load the dataset for EDA
|
19 |
@st.cache_data
|
|
|
13 |
|
14 |
from prediction import make_prediction
|
15 |
|
16 |
+
# In your model training script and your Streamlit app script (app.py)
|
17 |
+
from transformers import UnitPriceTransformer, KMeansAndLabelTransformer, DynamicOneHotEncoder
|
18 |
|
19 |
# Load the dataset for EDA
|
20 |
@st.cache_data
|
prediction.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import pickle
|
2 |
import pandas as pd
|
3 |
-
|
|
|
4 |
|
5 |
# Load the pipeline and model
|
6 |
# Load the pipeline object from the file
|
|
|
1 |
import pickle
|
2 |
import pandas as pd
|
3 |
+
# In your model training script and your Streamlit app script (app.py)
|
4 |
+
from transformers import UnitPriceTransformer, KMeansAndLabelTransformer, DynamicOneHotEncoder
|
5 |
|
6 |
# Load the pipeline and model
|
7 |
# Load the pipeline object from the file
|