deepakdm411 commited on
Commit
06e53d9
·
verified ·
1 Parent(s): 8cbb603

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,14 +153,14 @@ 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_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']),