Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import tensorflow as tf
|
|
| 4 |
from tensorflow.keras.preprocessing import image
|
| 5 |
|
| 6 |
# Load the trained model
|
| 7 |
-
model = tf.keras.models.load_model("
|
| 8 |
|
| 9 |
# Updated disease categories based on training data
|
| 10 |
class_labels = [
|
|
|
|
| 4 |
from tensorflow.keras.preprocessing import image
|
| 5 |
|
| 6 |
# Load the trained model
|
| 7 |
+
model = tf.keras.models.load_model("Tomato_Leaf_Disease_Model.h5")
|
| 8 |
|
| 9 |
# Updated disease categories based on training data
|
| 10 |
class_labels = [
|