Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
|
5 |
# Load your trained model
|
6 |
-
learn = load_learner('export.pkl')
|
7 |
|
8 |
# Define the labels (in this case, just 'cat' and 'dog')
|
9 |
labels = learn.dls.vocab
|
|
|
1 |
import gradio as gr
|
2 |
+
from fastai.vision.widgets import *
|
3 |
from fastai.vision.all import *
|
4 |
import skimage
|
5 |
|
6 |
# Load your trained model
|
7 |
+
learn = load_learner('./export.pkl')
|
8 |
|
9 |
# Define the labels (in this case, just 'cat' and 'dog')
|
10 |
labels = learn.dls.vocab
|