Zahraebrahimi commited on
Commit
ff415d4
·
1 Parent(s): 6833680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -86,9 +86,10 @@ def get_feature(img):
86
  imdist = cv2.resize(imdist, (0, 0), fx=0.5, fy=0.5, interpolation=cv2.INTER_NEAREST)
87
  return feat
88
 
89
- model= pickle.load(open('ALL_MODELS.pkl', 'rb'))
90
 
91
  def classify_image(image):
 
92
  X_test = get_feature(image)
93
  X_test = X_test.reshape((1, 36))
94
 
 
86
  imdist = cv2.resize(imdist, (0, 0), fx=0.5, fy=0.5, interpolation=cv2.INTER_NEAREST)
87
  return feat
88
 
89
+
90
 
91
  def classify_image(image):
92
+ model= pickle.load(open("ALL_MODELS.pkl", "rb"))
93
  X_test = get_feature(image)
94
  X_test = X_test.reshape((1, 36))
95