Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- app.py +1 -1
- requirements.txt +1 -2
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
|
| 7 |
# 1. Load the model from Hugging Face Hub
|
| 8 |
# Ensure you use your actual username and repo name
|
| 9 |
-
REPO_ID = "
|
| 10 |
model_path = hf_hub_download(repo_id=REPO_ID, filename="model.joblib")
|
| 11 |
model = joblib.load(model_path)
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
# 1. Load the model from Hugging Face Hub
|
| 8 |
# Ensure you use your actual username and repo name
|
| 9 |
+
REPO_ID = "your_username/superkart-sales-predictor"
|
| 10 |
model_path = hf_hub_download(repo_id=REPO_ID, filename="model.joblib")
|
| 11 |
model = joblib.load(model_path)
|
| 12 |
|
requirements.txt
CHANGED
|
@@ -2,5 +2,4 @@ pandas
|
|
| 2 |
joblib
|
| 3 |
scikit-learn
|
| 4 |
huggingface_hub
|
| 5 |
-
streamlit
|
| 6 |
-
dill
|
|
|
|
| 2 |
joblib
|
| 3 |
scikit-learn
|
| 4 |
huggingface_hub
|
| 5 |
+
streamlit
|
|
|