Paperbag commited on
Commit
67e3c0c
·
verified ·
1 Parent(s): 686fe85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
  def is_cat(x):
8
  return x[0].isupper()
9
 
10
- learn = load_learner(file = 'model.pkl')
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learn.predict(img)
 
7
  def is_cat(x):
8
  return x[0].isupper()
9
 
10
+ learn = load_learner('model.pkl')
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learn.predict(img)