Spaces:
Runtime error
Runtime error
Commit
•
8a685b2
1
Parent(s):
5993bfd
Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,10 @@ from turtle import Shape
|
|
2 |
import gradio as gr
|
3 |
from fastai.vision.all import *
|
4 |
|
5 |
-
learner = load_learner('model.pkl')
|
6 |
-
|
7 |
def is_cat(x):
|
8 |
return x[0].isupper()
|
9 |
-
|
|
|
10 |
|
11 |
categories = learner.dls.vocab
|
12 |
|
|
|
2 |
import gradio as gr
|
3 |
from fastai.vision.all import *
|
4 |
|
|
|
|
|
5 |
def is_cat(x):
|
6 |
return x[0].isupper()
|
7 |
+
|
8 |
+
learner = load_learner('model.pkl')
|
9 |
|
10 |
categories = learner.dls.vocab
|
11 |
|