export.pkl
Browse files- app.py +2 -2
- berry_model.pkl → export.pkl +0 -0
app.py
CHANGED
@@ -5,9 +5,9 @@ from time import sleep
|
|
5 |
import timm
|
6 |
import gradio as gr
|
7 |
|
8 |
-
learn = load_learner('
|
9 |
|
10 |
-
#
|
11 |
categories = learn.dls.vocab
|
12 |
|
13 |
def classify_image(img):
|
|
|
5 |
import timm
|
6 |
import gradio as gr
|
7 |
|
8 |
+
learn = load_learner('export.pkl')
|
9 |
|
10 |
+
#categories = ("strawberry", "blueberry", "raspberry", "cranberry", "mulberry", "other")
|
11 |
categories = learn.dls.vocab
|
12 |
|
13 |
def classify_image(img):
|
berry_model.pkl → export.pkl
RENAMED
File without changes
|