Spaces:
Runtime error
Runtime error
修改
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
|
|
14 |
pred,idx,probs = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
17 |
-
image = Image(shape=(
|
18 |
label = Label()
|
19 |
examples = ['img_0.png', 'img_1.jpg']
|
20 |
|
|
|
14 |
pred,idx,probs = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
17 |
+
image = Image(shape=(192,192))
|
18 |
label = Label()
|
19 |
examples = ['img_0.png', 'img_1.jpg']
|
20 |
|