Spaces:
Runtime error
Runtime error
azarovalex
commited on
Commit
•
0ed5d12
1
Parent(s):
8edf18f
Fix build
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 |
categories = ('Dog', 'Cat')
|
6 |
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
+
def is_cat(x): return x[0].isupper()
|
5 |
+
|
6 |
learn = load_learner('model.pkl')
|
7 |
categories = ('Dog', 'Cat')
|
8 |
|