Spaces:
Runtime error
Runtime error
No se había exportado la función is_cat()
Browse files
app.py
CHANGED
|
@@ -7,6 +7,8 @@ __all__ = ['learn', 'categories', 'image', 'label', 'intf', 'classify_image']
|
|
| 7 |
from fastai.vision.all import *
|
| 8 |
import gradio as gr
|
| 9 |
|
|
|
|
|
|
|
| 10 |
# %% ../drive/MyDrive/Colab Notebooks/app.ipynb 4
|
| 11 |
learn = load_learner('model.pkl')
|
| 12 |
|
|
|
|
| 7 |
from fastai.vision.all import *
|
| 8 |
import gradio as gr
|
| 9 |
|
| 10 |
+
def is_cat(x): return x[0].isupper()
|
| 11 |
+
|
| 12 |
# %% ../drive/MyDrive/Colab Notebooks/app.ipynb 4
|
| 13 |
learn = load_learner('model.pkl')
|
| 14 |
|