vahidrezanezhad commited on
Commit
af99749
1 Parent(s): d6d5054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def return_num_columns(img):
71
  img_in[0, :, :, 1] = img_1ch[:, :]
72
  img_in[0, :, :, 2] = img_1ch[:, :]
73
 
74
- label_p_pred = model.predict(img_in, verbose=0)
75
  num_col = np.argmax(label_p_pred[0]) + 1
76
  return num_col
77
 
 
71
  img_in[0, :, :, 1] = img_1ch[:, :]
72
  img_in[0, :, :, 2] = img_1ch[:, :]
73
 
74
+ label_p_pred = model_classifier.predict(img_in, verbose=0)
75
  num_col = np.argmax(label_p_pred[0]) + 1
76
  return num_col
77