eziokittu commited on
Commit
c043326
·
verified ·
1 Parent(s): 83a8946

Update projects/ML_DiabetesPrediction/ML_DiabetesPrediction.py

Browse files
projects/ML_DiabetesPrediction/ML_DiabetesPrediction.py CHANGED
@@ -2,7 +2,7 @@ from pydantic import BaseModel
2
  import pickle
3
 
4
  # loading the saved model
5
- model_ML_DiabetesPrediction = pickle.load(open('./projects/ML_DiabetesPrediction/model_DiabetesPrediction.sav', 'rb'))
6
 
7
  class form2(BaseModel):
8
  Pregnancies: int
 
2
  import pickle
3
 
4
  # loading the saved model
5
+ model_ML_DiabetesPrediction = pickle.load(open('./projects/ML_DiabetesPrediction/model_DiabetesPrediction.pkl', 'rb'))
6
 
7
  class form2(BaseModel):
8
  Pregnancies: int