Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from keras.preprocessing import image
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the model using joblib
|
7 |
-
model = joblib.load("your_model.pkl")
|
8 |
|
9 |
# Define a function to preprocess an image
|
10 |
def preprocess_image(image_path, target_size=(128, 128)):
|
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the model using joblib
|
7 |
+
model = joblib.load("./your_model.pkl")
|
8 |
|
9 |
# Define a function to preprocess an image
|
10 |
def preprocess_image(image_path, target_size=(128, 128)):
|