mathpal123 commited on
Commit
3d95457
1 Parent(s): e366afb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
- import gradio as gr
2
  #['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class']
 
 
 
3
  import joblib
 
4
  loaded_model = joblib.load('trained_model.pkl')
5
 
6
  def predict(preg, plas, pres, skin, test, mass, pedi, age):
 
 
1
  #['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class']
2
+
3
+ import gradio as gr
4
+ import sklearn
5
  import joblib
6
+
7
  loaded_model = joblib.load('trained_model.pkl')
8
 
9
  def predict(preg, plas, pres, skin, test, mass, pedi, age):