devudilip commited on
Commit
97f4aca
·
verified ·
1 Parent(s): 506bf70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -9,6 +9,8 @@ import gradio as gr
9
 
10
  def is_cat(x): return x[0].isupper()
11
 
 
 
12
  # %% app.ipynb 37
13
  categories = ('Dog', 'Cat')
14
  def classify_image(img):
 
9
 
10
  def is_cat(x): return x[0].isupper()
11
 
12
+ learn = load_learner('model.pkl')
13
+
14
  # %% app.ipynb 37
15
  categories = ('Dog', 'Cat')
16
  def classify_image(img):