Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def predict_class(image):
|
|
48 |
img = tf.image.resize(img, [input_shape[0], input_shape[1]])
|
49 |
img = tf.expand_dims(img, axis=0)
|
50 |
prediction = model.predict(img)
|
51 |
-
return prediction[0]
|
52 |
|
53 |
# UI Design for single class output
|
54 |
# def classify_image(image):
|
|
|
48 |
img = tf.image.resize(img, [input_shape[0], input_shape[1]])
|
49 |
img = tf.expand_dims(img, axis=0)
|
50 |
prediction = model.predict(img)
|
51 |
+
return prediction[0]
|
52 |
|
53 |
# UI Design for single class output
|
54 |
# def classify_image(image):
|