Spaces:
Runtime error
Runtime error
Commit
·
b9143a5
1
Parent(s):
3db49ff
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
import pickle
|
4 |
-
import pathlib
|
5 |
-
temp = pathlib.PosixPath
|
6 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
7 |
|
8 |
learn=load_learner('model (1).pkl')
|
9 |
categories=('man','woman')
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
import pickle
|
4 |
+
# import pathlib
|
5 |
+
# temp = pathlib.PosixPath
|
6 |
+
# pathlib.PosixPath = pathlib.WindowsPath
|
7 |
|
8 |
learn=load_learner('model (1).pkl')
|
9 |
categories=('man','woman')
|