Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ classes = ["Abyssinian", "Bengal", "Birman", "Bombay", "British Shorthair", "Egy
|
|
9 |
example_images = ["examples/" + f for f in os.listdir("examples")]
|
10 |
|
11 |
img_size = 400
|
12 |
-
model = tf.keras.models.load_model("CatClassifier.keras")
|
|
|
13 |
|
14 |
def model_predict(image):
|
15 |
image = cv2.resize(image, (img_size, img_size))
|
|
|
9 |
example_images = ["examples/" + f for f in os.listdir("examples")]
|
10 |
|
11 |
img_size = 400
|
12 |
+
model = tf.keras.models.load_model("/home/user/app/CatClassifier.keras")
|
13 |
+
print(os.getcwd())
|
14 |
|
15 |
def model_predict(image):
|
16 |
image = cv2.resize(image, (img_size, img_size))
|