Spaces:
Build error
Build error
added a comment
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
|
|
|
| 4 |
learn = load_learner('flowersclassifier.pkl')
|
| 5 |
labels = learn.dls.vocab
|
| 6 |
def predict(img):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
|
| 4 |
+
# loading the model
|
| 5 |
learn = load_learner('flowersclassifier.pkl')
|
| 6 |
labels = learn.dls.vocab
|
| 7 |
def predict(img):
|