Spaces:
Sleeping
Sleeping
Fixed Image parameters
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def classify_image(img):
|
|
| 9 |
pred,idx,probs = learn.predict(img)
|
| 10 |
return dict(zip(categories, map(float,probs)))
|
| 11 |
|
| 12 |
-
image = gr.Image(
|
| 13 |
label = gr.Label()
|
| 14 |
examples = ['Benign 1.jpg','Benign 2.jpg','Benign 3.jpg', 'Malignant 1.jpg',
|
| 15 |
'Malignant 2.jpg', 'Malignant 3.jpg']
|
|
|
|
| 9 |
pred,idx,probs = learn.predict(img)
|
| 10 |
return dict(zip(categories, map(float,probs)))
|
| 11 |
|
| 12 |
+
image = gr.Image(width=192, height=192)
|
| 13 |
label = gr.Label()
|
| 14 |
examples = ['Benign 1.jpg','Benign 2.jpg','Benign 3.jpg', 'Malignant 1.jpg',
|
| 15 |
'Malignant 2.jpg', 'Malignant 3.jpg']
|