Rename app.py to app
Browse files- app.py → app +1 -1
app.py → app
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
-
learn = load_learner('
|
5 |
labels = learn.dls.vocab
|
6 |
def predict(img):
|
7 |
img = PILImage.create(img)
|
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
+
learn = load_learner('export.pkl')
|
5 |
labels = learn.dls.vocab
|
6 |
def predict(img):
|
7 |
img = PILImage.create(img)
|