Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
learn = load_learner('export.pkl')
|
|
|
|
|
|
|
4 |
|
5 |
actors = learn.dls.vocab
|
6 |
def classify_images(img):
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
learn = load_learner('export.pkl')
|
4 |
+
import pathlib
|
5 |
+
temp = pathlib.PosixPath
|
6 |
+
pathlib.PosixPath = pathlib.WindowsPath
|
7 |
|
8 |
actors = learn.dls.vocab
|
9 |
def classify_images(img):
|