Zaidd commited on
Commit
5aa1b0c
·
1 Parent(s): 0b84f38

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 = load(Path('export.pth'))
7
 
8
 
9
  def classify_img(img):
 
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):