Toshifumi commited on
Commit
e3b0032
1 Parent(s): 09cf3aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -7,7 +7,6 @@ model = load_model('SD_4car_20230110_h5')
7
 
8
  def car4_classifier(img):
9
  img=np.expand_dims(img, 0)
10
- img = preprocess_input(img)
11
  predictionsA3 = model.predict(img)
12
  pred=int(list(np.argmax(predictionsA3, axis=1))[0])
13
  if pred==0:
 
7
 
8
  def car4_classifier(img):
9
  img=np.expand_dims(img, 0)
 
10
  predictionsA3 = model.predict(img)
11
  pred=int(list(np.argmax(predictionsA3, axis=1))[0])
12
  if pred==0: