gurwindersingh commited on
Commit
1b4dd95
·
1 Parent(s): e330235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,8 @@ from tensorflow.keras.models import load_model
7
  from PIL import Image
8
  import numpy as np
9
 
 
 
10
  def preprocess(image):
11
  gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
12
  blur = cv2.GaussianBlur(gray, (3,3),6)
 
7
  from PIL import Image
8
  import numpy as np
9
 
10
+ model = load_model('/kaggle/input/models/sudoku_net.h5')
11
+
12
  def preprocess(image):
13
  gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
14
  blur = cv2.GaussianBlur(gray, (3,3),6)