Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def classify_LC_image(img):
|
|
121 |
|
122 |
# Making predictions
|
123 |
model_h5 = tf.keras.models.load_model(model_path)
|
124 |
-
predictions = model_h5.predict(img_array
|
125 |
|
126 |
# Getting the class with the highest probability
|
127 |
class_idx = np.argmax(predictions)
|
|
|
121 |
|
122 |
# Making predictions
|
123 |
model_h5 = tf.keras.models.load_model(model_path)
|
124 |
+
predictions = model_h5.predict(img_array)
|
125 |
|
126 |
# Getting the class with the highest probability
|
127 |
class_idx = np.argmax(predictions)
|