yuragoithf commited on
Commit
7f5ab8a
·
1 Parent(s): d7e0cf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -46,8 +46,7 @@ def predict_class(image):
46
  img = tf.image.resize(img, [input_shape[0], input_shape[1]])
47
  img = tf.expand_dims(img, axis=0)
48
  prediction = model.predict(img)
49
- print(prediction[0])
50
- return prediction
51
 
52
  # UI Design
53
  # def classify_image(image):
 
46
  img = tf.image.resize(img, [input_shape[0], input_shape[1]])
47
  img = tf.expand_dims(img, axis=0)
48
  prediction = model.predict(img)
49
+ return prediction[0]
 
50
 
51
  # UI Design
52
  # def classify_image(image):