Spaces:
Runtime error
Runtime error
Removed argument in gr.Image()
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def classify_image(img):
|
|
16 |
pred, idx, probs = learn.predict(img)
|
17 |
return dict(zip(categories, map(float, probs)))
|
18 |
|
19 |
-
image = gr.Image(
|
20 |
label = gr.Label()
|
21 |
|
22 |
examples = ['dog.jpg', 'cat.jpg']
|
|
|
16 |
pred, idx, probs = learn.predict(img)
|
17 |
return dict(zip(categories, map(float, probs)))
|
18 |
|
19 |
+
image = gr.Image()
|
20 |
label = gr.Label()
|
21 |
|
22 |
examples = ['dog.jpg', 'cat.jpg']
|