Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -48,8 +48,8 @@ def predict_sales():
|
|
| 48 |
columns=['Product_Sugar_Content','Product_Type','Store_Id','Store_Size','Store_Location_City_Type','Store_Type'],
|
| 49 |
drop_first=True,
|
| 50 |
);
|
| 51 |
-
|
| 52 |
-
print(encoded_new_data)
|
| 53 |
|
| 54 |
# Make a Sales prediction using the trained model
|
| 55 |
prediction = model.predict(encoded_new_data).tolist()[0]
|
|
|
|
| 48 |
columns=['Product_Sugar_Content','Product_Type','Store_Id','Store_Size','Store_Location_City_Type','Store_Type'],
|
| 49 |
drop_first=True,
|
| 50 |
);
|
| 51 |
+
print("The data entered are below")
|
| 52 |
+
print(jsonify(encoded_new_data))
|
| 53 |
|
| 54 |
# Make a Sales prediction using the trained model
|
| 55 |
prediction = model.predict(encoded_new_data).tolist()[0]
|