I trained a CNN to categorize between dogs and cats and saved it as: MiniProject\_01.hdf5 with accuracy of 80%

Now I want to test my model. Here is my code:

```
import cv2
import keras

CATEGORIES =["Dog", "Cat"]

def data(file):
    IMG_SIZE = 64
    img_array = cv2.imread(file, cv2.IMREAD_GRAYSCALE)
    new_array = cv2.resize(img_array, (IMG_SIZE, IMG_SIZE))
    return new_array.reshape(-1, IMG_SIZE, IMG_SIZE, 1)

model = keras.models.load_model("MiniProject_01.hdf5")

prediction = model.predict([data("dog13.jpg")])
print(CATEGORIES[int(prediction[:])])

```

It just prints: Dog.

Can I get the percent accuracy/probability by which my model said it is a dog?