Spaces:
Runtime error
Runtime error
Andika Atmanegara Putra
commited on
Commit
•
a123a15
1
Parent(s):
eaf6202
update requirement and prediction
Browse files- .vscode/settings.json +6 -0
- prediction.py +0 -1
- requirements.txt +1 -0
.vscode/settings.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[python]": {
|
3 |
+
"editor.defaultFormatter": "ms-python.autopep8"
|
4 |
+
},
|
5 |
+
"python.formatting.provider": "none"
|
6 |
+
}
|
prediction.py
CHANGED
@@ -6,7 +6,6 @@ import pickle
|
|
6 |
import json
|
7 |
|
8 |
# load all files
|
9 |
-
# Modelling
|
10 |
|
11 |
with open('cat_model.pkl', 'rb') as file_1:
|
12 |
cat_model = pickle.load(file_1)
|
|
|
6 |
import json
|
7 |
|
8 |
# load all files
|
|
|
9 |
|
10 |
with open('cat_model.pkl', 'rb') as file_1:
|
11 |
cat_model = pickle.load(file_1)
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ seaborn
|
|
4 |
matplotlib
|
5 |
plotly
|
6 |
Pillow
|
|
|
7 |
scikit-learn==1.2.2
|
|
|
4 |
matplotlib
|
5 |
plotly
|
6 |
Pillow
|
7 |
+
catboost
|
8 |
scikit-learn==1.2.2
|