Spaces:
Sleeping
Sleeping
Commit
·
c901da2
1
Parent(s):
9bbce8c
Fixed errors
Browse files
app.py
CHANGED
|
@@ -1,10 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
| 4 |
-
|
| 5 |
-
return x[0].isupper()
|
| 6 |
-
|
| 7 |
-
learn = load.learner('model.pkl')
|
| 8 |
|
| 9 |
categories = ('Dog', 'Cat')
|
| 10 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
| 4 |
+
learn = load_learner('model.pkl')
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
categories = ('Dog', 'Cat')
|
| 7 |
|