Spaces:
Runtime error
Runtime error
Lucas Lima commited on
Commit ·
11fad6c
1
Parent(s): 695318f
Ffix
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
| 4 |
-
learn =
|
| 5 |
|
| 6 |
categories = ('Golf', 'Soccer')
|
| 7 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
| 4 |
+
learn = load_learner('model.pkl')
|
| 5 |
|
| 6 |
categories = ('Golf', 'Soccer')
|
| 7 |
|