Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,12 @@
|
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
# def is_cat(x): return x[0].isupper()
|
5 |
|
6 |
-
import pathlib
|
7 |
-
temp = pathlib.PosixPath
|
8 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
9 |
|
10 |
learn = load_learner('export.pkl')
|
11 |
|
|
|
1 |
+
from fastai import *
|
2 |
from fastai.vision.all import *
|
3 |
import gradio as gr
|
4 |
|
5 |
# def is_cat(x): return x[0].isupper()
|
6 |
|
7 |
+
# import pathlib
|
8 |
+
# temp = pathlib.PosixPath
|
9 |
+
# pathlib.PosixPath = pathlib.WindowsPath
|
10 |
|
11 |
learn = load_learner('export.pkl')
|
12 |
|