Spaces:
Sleeping
Sleeping
Upload backend_files/app.py with huggingface_hub
Browse files26 unmodified lines27282930313233343536373839404142434445464748495051525326 unmodified lines'Product_Sugar_Content_Low Sugar', 'Product_Sugar_Content_No Sugar','Product_Sugar_Content_Regular', 'Product_Type_Baking Goods','Product_Type_Breads', 'Product_Type_Breakfast', 'Product_Type_Canned','Product_Type_Dairy','Product_Type_Frozen Foods','Product_Type_Fruits and Vegetables','Product_Type_Hard Drinks','Product_Type_Health and Hygiene','Product_Type_Household','Product_Type_Meat','Product_Type_Others','Product_Type_Seafood','Product_Type_Snack Foods','Product_Type_Soft Drinks','Product_Type_Starchy Foods','Store_Size_High','Store_Size_Low','Store_Size_Medium','Store_Location_City_Type_Tier 1','Store_Location_City_Type_Tier 2','Store_Location_City_Type_Tier 3','Store_Type_Departmental Store','Store_Type_Food Mart','Store_Type_Supermarket Type1','Store_Type_Supermarket Type2']# Based on the kernel state, X has 31 columns. You must update the above list to match your actual X.columns.tolist()26 unmodified lines2728293031323334353637383940414226 unmodified lines'Product_Sugar_Content_Low Sugar', 'Product_Sugar_Content_No Sugar','Product_Sugar_Content_Regular', 'Product_Type_Baking Goods','Product_Type_Breads', 'Product_Type_Breakfast', 'Product_Type_Canned','Product_Type_Dairy', 'Product_Type_Frozen Foods','Product_Type_Fruits and Vegetables', 'Product_Type_Hard Drinks','Product_Type_Health and Hygiene', 'Product_Type_Household','Product_Type_Meat', 'Product_Type_Others', 'Product_Type_Seafood','Product_Type_Snack Foods', 'Product_Type_Soft Drinks','Product_Type_Starchy Foods', 'Store_Size_High', 'Store_Size_Medium','Store_Size_Small', 'Store_Location_City_Type_Tier 1','Store_Location_City_Type_Tier 2','Store_Location_City_Type_Tier 3', 'Store_Type_Departmental Store','Store_Type_Food Mart', 'Store_Type_Supermarket Type1','Store_Type_Supermarket Type2']# Based on the kernel state, X has 31 columns. You must update the above list to match your actual X.columns.tolist()
backend_files/app.py+9-20