Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +0 -2
- best_sales_forecasting_model.pkl +2 -2
app.py
CHANGED
|
@@ -153,14 +153,12 @@ def batch_predict():
|
|
| 153 |
|
| 154 |
# Create DataFrame for prediction
|
| 155 |
input_data = pd.DataFrame([{
|
| 156 |
-
#'Product_Id': f'FD{i+1:03d}', # Unique product ID for batch
|
| 157 |
'Product_Weight': float(item['Product_Weight']),
|
| 158 |
'Product_Sugar_Content': str(item['Product_Sugar_Content']),
|
| 159 |
'Product_Allocated_Area': float(item['Product_Allocated_Area']),
|
| 160 |
'Product_Type': str(item['Product_Type']),
|
| 161 |
'Product_MRP': float(item['Product_MRP']),
|
| 162 |
'Store_Id': f'OUT{i+1:03d}', # Unique store ID for batch
|
| 163 |
-
#'Store_Establishment_Year': int(item['Store_Establishment_Year']),
|
| 164 |
'Store_Size': str(item['Store_Size']),
|
| 165 |
'Store_Location_City_Type': str(item['Store_Location_City_Type']),
|
| 166 |
'Store_Type': str(item['Store_Type']),
|
|
|
|
| 153 |
|
| 154 |
# Create DataFrame for prediction
|
| 155 |
input_data = pd.DataFrame([{
|
|
|
|
| 156 |
'Product_Weight': float(item['Product_Weight']),
|
| 157 |
'Product_Sugar_Content': str(item['Product_Sugar_Content']),
|
| 158 |
'Product_Allocated_Area': float(item['Product_Allocated_Area']),
|
| 159 |
'Product_Type': str(item['Product_Type']),
|
| 160 |
'Product_MRP': float(item['Product_MRP']),
|
| 161 |
'Store_Id': f'OUT{i+1:03d}', # Unique store ID for batch
|
|
|
|
| 162 |
'Store_Size': str(item['Store_Size']),
|
| 163 |
'Store_Location_City_Type': str(item['Store_Location_City_Type']),
|
| 164 |
'Store_Type': str(item['Store_Type']),
|
best_sales_forecasting_model.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c62202e5aa050bf89601aaff69b019618a661bb63046e047505d3a709ec4463
|
| 3 |
+
size 45492999
|