Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +8 -0
- sales_forecast_v1_0.joblib +3 -0
app.py
CHANGED
|
@@ -2,6 +2,14 @@ import requests
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
st.title("Sales Prediction for SuperKart")
|
| 6 |
|
| 7 |
# Batch Prediction
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
|
| 5 |
+
|
| 6 |
+
# Load the trained model
|
| 7 |
+
def load_model():
|
| 8 |
+
return joblib.load("sales_forecast_v1_0.joblib")
|
| 9 |
+
|
| 10 |
+
model = load_model()
|
| 11 |
+
|
| 12 |
+
|
| 13 |
st.title("Sales Prediction for SuperKart")
|
| 14 |
|
| 15 |
# Batch Prediction
|
sales_forecast_v1_0.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f73a906e44d9ecdf8bb61b0bb8250d04af3babb16b8c63eaca4f50bfa275981b
|
| 3 |
+
size 6577
|