Spaces:
Sleeping
Sleeping
refactor
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ def classify_image(image):
|
|
13 |
pred, idx, probs = learner.predict(image)
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
-
|
|
|
17 |
label = gr.Label()
|
18 |
examples = ['chess.jpg', 'checkers.webp', "dono.jpg"]
|
19 |
|
|
|
13 |
pred, idx, probs = learner.predict(image)
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
+
|
17 |
+
image = gr.Image(height=192, width=192)
|
18 |
label = gr.Label()
|
19 |
examples = ['chess.jpg', 'checkers.webp', "dono.jpg"]
|
20 |
|