patel18 commited on
Commit
ffcbdcb
·
1 Parent(s): accb058

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import pickle
4
  from sklearn.preprocessing import normalize
5
 
6
- model = pickle.load(open("C:/Users/Admin/Downloads/model.pkl", 'rb'))
7
 
8
  def predict(Age, CigsPerDay, Cholestrol, SysBP, DIaBP, BMI, HeartRate, GlucoseLevel, Gender, BpMedication, PrevalentStroke, Smoker):
9
  '''
 
3
  import pickle
4
  from sklearn.preprocessing import normalize
5
 
6
+ model = pickle.load(open("model.pkl", 'rb'))
7
 
8
  def predict(Age, CigsPerDay, Cholestrol, SysBP, DIaBP, BMI, HeartRate, GlucoseLevel, Gender, BpMedication, PrevalentStroke, Smoker):
9
  '''