Zaidd commited on
Commit
17a4f80
·
1 Parent(s): 5aa1b0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from pathlib import Path
4
  import pathlib
5
  categories = ('Man', 'Woman')
6
- learner = learn.load('export.pth')
7
 
8
 
9
  def classify_img(img):
 
3
  from pathlib import Path
4
  import pathlib
5
  categories = ('Man', 'Woman')
6
+ learner = load_learner('export.pth')
7
 
8
 
9
  def classify_img(img):