Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
|
8 |
inf = load_learner('LeopardCheetah (1).pkl')
|
9 |
|
10 |
-
categories = ('Cheetah','
|
11 |
|
12 |
def classify_img(img):
|
13 |
pred, idx, probs = inf.predict(img)
|
|
|
7 |
|
8 |
inf = load_learner('LeopardCheetah (1).pkl')
|
9 |
|
10 |
+
categories = ('Cat', 'Cheetah', 'Other', 'Leopard', 'Lion', 'Snow Leopard', 'Tiger')
|
11 |
|
12 |
def classify_img(img):
|
13 |
pred, idx, probs = inf.predict(img)
|