lol
Browse files
app.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
from fastai.vision.all import *
|
| 3 |
-
from PIL import Image
|
| 4 |
import pathlib
|
| 5 |
|
| 6 |
plt = platform.system()
|
| 7 |
if plt == 'Windows':
|
| 8 |
pathlib.WindowsPath = pathlib.PosixPath
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Load your trained/saved model
|
| 11 |
learn = load_learner('model.pkl')
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import pathlib
|
| 2 |
|
| 3 |
plt = platform.system()
|
| 4 |
if plt == 'Windows':
|
| 5 |
pathlib.WindowsPath = pathlib.PosixPath
|
| 6 |
+
|
| 7 |
+
import gradio as gr
|
| 8 |
+
from fastai.vision.all import *
|
| 9 |
+
from PIL import Image
|
| 10 |
+
|
| 11 |
# Load your trained/saved model
|
| 12 |
learn = load_learner('model.pkl')
|
| 13 |
|