jeraldhan92 commited on
Commit
f6f2d86
·
1 Parent(s): 90f6e2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,9 +2,10 @@ import gradio as gr
2
  from fastai.vision.all import *
3
  import skimage
4
 
5
- learn = load_learner('export.pkl')
6
 
7
  labels = learn.dls.vocab
 
8
  def predict(img):
9
  img = PILImage.create(img)
10
  pred,pred_idx,probs = learn.predict(img)
 
2
  from fastai.vision.all import *
3
  import skimage
4
 
5
+ learn = load_learner('model.pkl')
6
 
7
  labels = learn.dls.vocab
8
+
9
  def predict(img):
10
  img = PILImage.create(img)
11
  pred,pred_idx,probs = learn.predict(img)