Update app.py
Browse files
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 =
|
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):
|