Spaces:
Sleeping
Sleeping
-- missed
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
|
|
14 |
learn = load_learner('model.pkl')
|
15 |
|
16 |
image = gr.Image(height=192, width=192)
|
17 |
-
label = gr.
|
18 |
|
19 |
examples = ['giant_0.jpg', 'red_0.jpg', 'giant_1.jpg', 'red_1.jpg']
|
20 |
interface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
14 |
learn = load_learner('model.pkl')
|
15 |
|
16 |
image = gr.Image(height=192, width=192)
|
17 |
+
label = gr.Label()
|
18 |
|
19 |
examples = ['giant_0.jpg', 'red_0.jpg', 'giant_1.jpg', 'red_1.jpg']
|
20 |
interface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|