Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import joblib
|
|
4 |
from tensorflow.keras.utils import load_img, img_to_array
|
5 |
|
6 |
# Load the pre-trained model
|
7 |
-
model = joblib.load("
|
8 |
|
9 |
# Define the class names (must match the training dataset order)
|
10 |
class_names = ['Daisy', 'Rose', 'Sunflower', 'Tulip', 'Dandelion']
|
|
|
4 |
from tensorflow.keras.utils import load_img, img_to_array
|
5 |
|
6 |
# Load the pre-trained model
|
7 |
+
model = joblib.load("flower1.pkl")
|
8 |
|
9 |
# Define the class names (must match the training dataset order)
|
10 |
class_names = ['Daisy', 'Rose', 'Sunflower', 'Tulip', 'Dandelion']
|