Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,9 @@ labels = ('Bee', 'Wasp')
|
|
7 |
def predict(img):
|
8 |
pred, pred_idx, prob = learn.predict(img)
|
9 |
return dict(zip(labels, map(float, prob)))
|
10 |
-
|
|
|
|
|
11 |
image = gr.inputs.Image(shape=(192,192))
|
12 |
label = gr.outputs.Label()
|
13 |
examples = ['bee.jpg', 'wasp.jpg']
|
|
|
7 |
def predict(img):
|
8 |
pred, pred_idx, prob = learn.predict(img)
|
9 |
return dict(zip(labels, map(float, prob)))
|
10 |
+
|
11 |
+
title="Bee or wasp classifier"
|
12 |
+
|
13 |
image = gr.inputs.Image(shape=(192,192))
|
14 |
label = gr.outputs.Label()
|
15 |
examples = ['bee.jpg', 'wasp.jpg']
|