Spaces:
Runtime error
Runtime error
JoePratchaya
commited on
Commit
•
f84f0d2
1
Parent(s):
4fa90ee
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
|
|
|
|
4 |
learn = load_learner("model.pkl")
|
5 |
|
6 |
categories = ('Dobby','Gollum')
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
+
def is_dobby(x): return x[0].isupper()
|
5 |
+
|
6 |
learn = load_learner("model.pkl")
|
7 |
|
8 |
categories = ('Dobby','Gollum')
|