Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +1 -2
- requirements.txt +12 -1
app.py
CHANGED
|
@@ -42,10 +42,9 @@ def predict_sales():
|
|
| 42 |
'Store_Type': data['Store_Type'],
|
| 43 |
'Product_Id_char': data['Product_Id_char'],
|
| 44 |
'Store_Age_Years': data['Store_Age_Years'],
|
| 45 |
-
'
|
| 46 |
}
|
| 47 |
|
| 48 |
-
|
| 49 |
# Convert the extracted data into a DataFrame
|
| 50 |
input_data = pd.DataFrame([sample])
|
| 51 |
|
|
|
|
| 42 |
'Store_Type': data['Store_Type'],
|
| 43 |
'Product_Id_char': data['Product_Id_char'],
|
| 44 |
'Store_Age_Years': data['Store_Age_Years'],
|
| 45 |
+
'Product_Type_Category': data['Product_Type_Category']
|
| 46 |
}
|
| 47 |
|
|
|
|
| 48 |
# Convert the extracted data into a DataFrame
|
| 49 |
input_data = pd.DataFrame([sample])
|
| 50 |
|
requirements.txt
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
requests==2.32.3
|
| 2 |
-
|
|
|
|
|
|
| 1 |
+
pandas==2.2.2
|
| 2 |
+
numpy==2.0.2
|
| 3 |
+
scikit-learn==1.6.1
|
| 4 |
+
seaborn==0.13.2
|
| 5 |
+
joblib==1.4.2
|
| 6 |
+
xgboost==2.1.4
|
| 7 |
+
joblib==1.4.2
|
| 8 |
+
Werkzeug==2.2.2
|
| 9 |
+
flask==2.2.2
|
| 10 |
+
gunicorn==20.1.0
|
| 11 |
requests==2.32.3
|
| 12 |
+
uvicorn[standard]
|
| 13 |
+
streamlit==1.43.2
|