Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import skimage
|
5 |
|
6 |
path = Path('export.pkl')
|
7 |
-
|
8 |
|
9 |
def predict(img):
|
10 |
img = PILImage.create(img)
|
|
|
4 |
import skimage
|
5 |
|
6 |
path = Path('export.pkl')
|
7 |
+
learn = load_learner(path)
|
8 |
|
9 |
def predict(img):
|
10 |
img = PILImage.create(img)
|