Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ data = pd.read_csv("mldata.csv")
|
|
9 |
|
10 |
|
11 |
#load prediction model from notebook
|
12 |
-
pickleFile = open('
|
13 |
rfmodel = pickle.load(pickleFile)
|
14 |
|
15 |
#Obtain the categorical/nominal data because it is not coded according (but based on the first occurence, first come first assign number)
|
|
|
9 |
|
10 |
|
11 |
#load prediction model from notebook
|
12 |
+
pickleFile = open('dtree.pkl','rb')
|
13 |
rfmodel = pickle.load(pickleFile)
|
14 |
|
15 |
#Obtain the categorical/nominal data because it is not coded according (but based on the first occurence, first come first assign number)
|