sarth123 commited on
Commit
e46e50a
·
verified ·
1 Parent(s): 820da0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,10 +5,11 @@ from PIL import Image
5
  from keras.preprocessing import image
6
  import tensorflow as tf
7
  #predict function
 
 
8
  def predict(img):
9
  print("hi")
10
 
11
- model = tf.keras.models.load_model(r"model.keras")
12
  print("hi")
13
  Retina_classes = ['DR', 'No_DR']
14
  img = np.resize(img,(224,224,3))
 
5
  from keras.preprocessing import image
6
  import tensorflow as tf
7
  #predict function
8
+ model = tf.keras.models.load_model(r"model.keras")
9
+
10
  def predict(img):
11
  print("hi")
12
 
 
13
  print("hi")
14
  Retina_classes = ['DR', 'No_DR']
15
  img = np.resize(img,(224,224,3))