Asadel Ann commited on
Commit
d0868ca
·
1 Parent(s): e65597a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model = load_model('daging128.model')
12
  mlb = pickle.loads(open('daging128.pickle', "rb").read())
13
  labl = ['Busuk', 'Segar', 'Setengah']
14
  def gambaran(image):
15
- output = imutils.resize(image, width=400)
16
  image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
17
  image = cv2.resize(image, (128, 128))
18
  image = image.astype("float") / 255.0
 
12
  mlb = pickle.loads(open('daging128.pickle', "rb").read())
13
  labl = ['Busuk', 'Segar', 'Setengah']
14
  def gambaran(image):
15
+ output = imutils.resize(image, width=128)
16
  image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
17
  image = cv2.resize(image, (128, 128))
18
  image = image.astype("float") / 255.0