fix categories
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
learn = load_learner('veicle_model.pkl')
|
5 |
|
6 |
-
categories = ('
|
7 |
|
8 |
def classify_image(img):
|
9 |
pred,idx,probs = learn.predict(img)
|
|
|
3 |
|
4 |
learn = load_learner('veicle_model.pkl')
|
5 |
|
6 |
+
categories = ('Bicycle', 'Car', 'Truck lorry')
|
7 |
|
8 |
def classify_image(img):
|
9 |
pred,idx,probs = learn.predict(img)
|